Tagged: french translation
I tried to translate Executive Pro and Beautiful Pro in a multisite network.
For example, widget titles in the admin widget area are in english and I want them in french.
I read this http://www.studiopress.com/tips/translating-studiopress-theme.htm and ended up with .po and .mo files
For Executive Pro I named my file as following: used executive-fr_FR.mo
For Beautifl Pro I named my file as following: executive-fr_FR.mo
But translations don’t work.
Is the name not correct?
Or maybe it’s related to the fact I’m using Genesis translations plugin? If so, how can I do?
I sent a tweet out for assistance. Someone should respond shortly.
Did you use POEdit as that page you linked to instructed? It will name the .po and .mo files correctly on its own when you save. No need to rename them.
Also, you say “widget titles in the admin widget area are in english and I want them in french”, do you mean the name of the widgets provided by WordPress (like Calendar, Custom Menu or Recent Comments) or the widget titles you enter yourself? For the latter, you’ll need to renter the titles in French. Theme translation won’t help with that as they are not related.
Actually I found the answer
The name was not correct. It’s just fr_FR.mo (and not themename-fr_FR.mo).
@arom77, also check out the dialogue going on over on my Twitter – https://twitter.com/TheCre8tiveDiva/status/428184955407966208. Some of them cannot make it to the forum right now, so read those tweets.
For Child theme two things to do:
1- in functions.php add:
load_child_theme_textdomain( ‘theme-name’, get_stylesheet_directory() . ‘/lib-gn/language-theme’ );
The language-theme is my folder for all po, mo files and the ‘theme-name’ is the localization name.
2. for your mo and po files, just use this names for french:
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.