- romweets February 27, 2015 at 11:44 am
Hey Juanfra,
Which file do I have to modify to translate the days of the hours widget in french please?
Thanks for your answer 🙂
Juanfra Aldasoro February 27, 2015 at 1:36 pmHi,
Thanks for writing:
Thanks for writing. The best way to translate site strings is to translate directly the .po and .mo files.
Personally, I like to use the program Poedit, you can get a copy over here: http://poedit.net/
First, download and install Poedit. Then, see that within the theme files there’s a folder named “lang”. Over there you can find the translatable files. So, you’ll need to do the following:
1. Open the file in Poedit.
On the left, there’s a box with the original message (in English) from the POT file. Beside that box is where you add your translation.
2. Go to File → Save as… to save your translations in a PO file. (must be named with the language identifier. For example, for French it would be fr_FR.po and fr_FR.mo )
3. When you are finished translating, go to File → Save as… again to generate the MO file.Finally, you need to be running your WordPress install in the language you are trying to have the translation in (for you would be french).
Best,
Juan.
You must be logged in to reply to this topic.