• Resolved SimonKirkNissen

    (@simonkirknissen)


    Hi,

    First of all – thank you for a fantastic theme. Very good looking and easy to work with.
    I’m building a site in Danish. Therefore it would be nice to have the term “read the post” in local language. How can I get this?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author Ben Sibley

    (@bensibley)

    You’re welcome, thanks for the kind words!

    The process is a bit involved, but here’s how it’s done:

    You’ll need to download a free translation program like Poedit. Then, use it to create a new translation from the “tracks.pot” file. The “tracks.pot” file can be located in the Tracks theme folder under /languages/.

    You’ll be given an interface for translating strings of text found in the theme. Translate however much you’d like. When you you’re done, the program will automatically create two files:

    da-DK.po
    da-DK.mo

    Once you have those files, you could add them to the /languages/ folder in Tracks on your server and they would take effect. However, they will be deleted every time you update Tracks.

    Instead, if you email me the translation files at [email protected], I will include them in the theme so you won’t have to keep re-uploading them, and others will be able to benefit from your work as well.

    WordPress has a guide about translating you may find useful as well.

    Thread Starter SimonKirkNissen

    (@simonkirknissen)

    Hi Ben,

    Thank you so much. Very useful and excellent support from your side!

    Theme Author Ben Sibley

    (@bensibley)

    You’re welcome ??

    Let me know if you need any more assistance during the translating process.

    Thread Starter SimonKirkNissen

    (@simonkirknissen)

    Thanks!

    Actually – I did all the translating, but Poedit only saves a .po file not a .mo (even though it is set in preferences). I tried to upload the .po but apparently that is not enough.

    Any tips?

    Theme Author Ben Sibley

    (@bensibley)

    In Poedit, if you open your preferences, you should see an “Editor” set of options.

    If you check off the top box (“Automatically compile .mo file on save”) it should then auto-generate the .mo file for you.

    HaNioL

    (@haniol)

    First of all thanks for this amazing theme, it’s really easy to use and to adapt to your needs.

    Having said that, I have a problem with what you just explained, I’ve made my translations to catalan and spanish but only the catalan one is working, do you know why would this happen? I’m using the plugin Polylang to manage multiple languages in my website. (You can see the spanish one not working in this url: https://www.les3flors.cat/blog-2/ , and the catalan one working in here: https://www.les3flors.cat/blog/)

    Thank you in advance

    Theme Author Ben Sibley

    (@bensibley)

    Most likely, the issue is with the Spanish filenames. Poedit gives you a wide variety of dialects, but I believe the only one officially supported by WordPress is es_ES.

    Make sure the Spanish translation files are named es_ES.po and es_ES.mo.

    HaNioL

    (@haniol)

    That was it! I had it named just es. Thank you!

    Theme Author Ben Sibley

    (@bensibley)

    You’re welcome ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Change" Read the post"’ is closed to new replies.