Could you just describe the process?
Thanks
Yann
Could you just describe the process?
Thanks
Yann
Good question Yann. I will be writing a blog post about this later but here are the basics.
-Download and install poEdit
-Take the .po file from the latest ClassiPress folder (v2.8.2 or greater).
-Open that file with poEdit. You'll need to learn how poEdit works.
-Start the translation and periodically save the file as a .po
-When you are finished translating, go to File => Save as (filename.po) and after saving it as a .po, it will also automatically generate the .mo file.
The naming of your .mo files is very important and must match the desired locale. The naming convention is based on the language code (e.g. pt for Portuguese) followed by the country code (e.g. _BR for Brazil). So, the Brazilian Portuguese file would be called pt_BR.mo. Complete lists of language codes and country codes.
-Put the .mo file in your classipress theme directory.
-Update your wp-config.php file with the correct language codes like the example below. If you don't have a WPLANG entry then create one.
(Read this post which better explains the process.)Code:define ('WPLANG', 'pt_BR');
-Go back and refresh your ClassiPress site. You should now see the ClassiPress translated!
Note, sometimes the text you translated is too long and might wrap or look funny. You can either shorten the text or decrease the font size.
Anyone that successfully translates ClassiPress, please let me know. I would love to get the translated .MO file from you so I can offer it to all ClassiPress customers.
More information directly from WordPress.
AppThemes - WordPress Premium Themes
Hello
I made with Poedit a French translation file here : http://www.annonce-paris.org/wp-content ... s/fr_FR.mo
But i don't understand how to generate the ".mo" file, i have just renamed the ".po" file into ".mo" and my website is not translated![]()
Thanks for your help
Regards,
Patrick
I fixed the problem because of several duplicate entries, now i have fr_FR.mo
But it doesn't work![]()
Patrick, my instructions above have been updated. You'll need to create a "languages" folder under "wp-content" and put your .mo file there. I tried it on my computer using your fr_FR.mo file and it worked. Some of the text wrapped though because it was too long. Let me know once you've gotten a final translation and I will make it available to download for any ClassiPress owner.
Thanks!
AppThemes - WordPress Premium Themes
Not a Verified Customer@dcowgill, I think your explanation is very good BUT in case you are traying to edit the Wordpress Language, not the ClassiPress theme language.
First of all I think you should give us the .POT file, so we can create our own .po files after the original language file.
Second, the language files .po and .mo should be inside the theme folder NOT in /wp-content/languages/
Remember, Wordpress uses that folder for their own translations, so in my case I already have es_ES.po and es_ES.mo files because they are Wordpress translations. So I´m not going to replace the Wordpress files translations with these ClassiPress translations files.
I hope people that doesn´t understand anything about this is not this and replacing the Wordpress translations with ClassiPress translations.
In resume, please send us the .POT file.
Thanks in advance.
Hi Miguel, I'd be happy to include the .pot file but there isn't any difference than the .po file. Looks the exact same to me. Am I missing something?
I see what you mean by replacing the WordPress translation files but I couldn't get them to work if I put them in the theme directory. Any help from you would be appreciated.
AppThemes - WordPress Premium Themes
Not a Verified Customer@dcowgill, sure, I can help, just send me the original .POT file so I can start working on the solution.
Not a Verified CustomerI´ve sent you a PM, I hope you can give me some credit![]()
ok i can't replace wordpress language... then i'm waiting a solution
thanks
There are currently 2 users browsing this thread. (0 members and 2 guests)
Bookmarks