NiceThemesHours Widget – NiceThemes http://nicethemeswp.com/forums/topic/hours-widget/feed/ Wed, 23 Apr 2025 13:31:14 +0000 http://bbpress.org/?v=2.5.12-6148 en-US http://nicethemeswp.com/forums/topic/hours-widget/#post-5378 <![CDATA[Hours Widget]]> http://nicethemeswp.com/forums/topic/hours-widget/#post-5378 Fri, 27 Feb 2015 11:44:53 +0000 romweets Hey Juanfra,

Which file do I have to modify to translate the days of the hours widget in french please?

Thanks for your answer 🙂

]]>
http://nicethemeswp.com/forums/topic/hours-widget/#post-5381 <![CDATA[Reply To: Hours Widget]]> http://nicethemeswp.com/forums/topic/hours-widget/#post-5381 Fri, 27 Feb 2015 13:36:45 +0000 Juanfra Aldasoro Hi,

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.

]]>