Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi, here are the Dutch translations (Kontrast and plugin):
    Kontrast and plugin translations Dutch

    • This reply was modified 7 years, 4 months ago by WimScholtes.
    Thread Starter WimScholtes

    (@wimscholtes)

    Hi Machiel,

    When you visit the languages page (https://github.com/AlxMedia/hueman-languages) you see a button on the right with the text: download zip. If I hit that button, a zip file is downloaded with all the language files available, including the nl_NL.po file. I work on a iMac and I’m using PoEdit version 1.6.4 and when I open this file, PoEdit opens without any problems.

    Is this the way you downloaded the language file? If so, you can try again and maybe it will help? Otherwise I don’t know what the problem could be.

    Success,
    Wim

    Thread Starter WimScholtes

    (@wimscholtes)

    I’m sorry. Added the English translation (although it now looks like I added a Dutch translation to an English text ;-).

    Greetings…
    Wim

    Thread Starter WimScholtes

    (@wimscholtes)

    Adriaan,

    The .po file is a user readible en writable file which contains the translations. With a program like PoEdit (http://www.poedit.net) you can open the .po file and save it as a .mo file. The .mo file is not readible for us humans, but can be read by the computer and in this case by WordPress.

    If you provide your email adres, I can mail the Dutch .mo file to you (but offcourse it is much more fun to do it yourself ;-).

    Greetings…
    Wim

    =========
    Dutch translation:

    Het .po bestand is een voor ons leesbaar en bewerkbaar bestand waar de vertalingen in staan. Met een programma als PoEdit (c) kan je het .po bestand openen en een .mo bestand wegschrijven. Het .mo bestand is niet voor ons leesbaar maar wel voor de computer cq WordPress.

    Je kan het .mo bestand op die manier dus aanmaken. Als je een email adres geeft, wil ik het je ook wel toesturen (maar dat is natuurlijk minder leuk dan het zelf doen ;-).

    Groeten,
    Wim

    Thread Starter WimScholtes

    (@wimscholtes)

    Adriaan,

    Create a “languages” directory in your child theme directory and place the .mo and the .po file in there. If you created your child theme the right way, it will work. If not, you can place the .po and .mo files in the “languages” directory in the hueman theme itself, but that is not the proper way to do it 😉

    Greetings…
    Wim

    I don’t think that it is neccessary to have WordPress in Swedish. That is only the case if the Hueman theme options itself needs to be translated. In that case, WordPress uses the language of the WordPress installation deinde in/with wp-config.php.

    But in this case, only your website has to be translated. If I visit my own website from my iPad, there is no WordPress installation at all but it still translates to Dutch.

    Have you checked the language of the .po file you are using (it is stated in the .po file itself).

    If I onderstand correctly, did you changed the default theme language files? If so, I think that somewhere in the header of that .po file it says that the language is English (I have made an Dutch translation and I have to say my translation is Dutch). So maybe you have to change the language of the file in Swedish (in POEdit that is, menu option Catalogue – Preferences), save it and try again. I believe that your browser is sending it’s language preferences to the webserver which than responds with the correct language, if it exists (see http://www.w3.org/International/questions/qa-lang-priorities.en.php ).

    Of course it is better to use a child theme and make the changes over there, as Axel has stated in different answers here in the support forum (you have to put the function alx_load in your functions.php in the child theme and change get_template_directory() into get_stylesheet_directory() in the line for the language file, just changed that myself and it is working for me).

    Thread Starter WimScholtes

    (@wimscholtes)

    No thanks needed, you are doing all the hard theme coding stuff, I am just a user 😀 .

Viewing 8 replies - 1 through 8 (of 8 total)