September 27, 2012 at 1:01 pm #16638
Sorry I can_t find an answer in the other topics. How can I activate the German language file(.po, .mo) for the Choice theme? Even if I delete all the other files in the choices/lang – folder I don’t see any translations in the theme’s backend. What’s wrong with it?September 28, 2012 at 6:31 am #92308
The translation files will only translate the frontend (interface which can be seen by your website visitors). The backend is not translatable and will still be in English.
PeterSeptember 28, 2012 at 6:53 am #92309
thanks, it seems to be true, that for some parts, such as the Choices Theme Options, there aren’t translations in the .po file at all.
But the translation file actually includes phrases, which refer to the backend, “Add New Portfolio Entry” e.g.
Sorrily I only see the English words. I think this is a problem, when the customer doesn’t understand English. Perhaps I made something wrong?
BernhardSeptember 28, 2012 at 10:39 am #92310
Your customers will not be able to see those “Add New Portfolio Entry” text. They can only be seen by the admin.
IsmaelSeptember 28, 2012 at 11:28 am #92311
thanks, but if this is true, I have two questions:
a) What is the purpose of a translation file, when nothing appears translated, even not for the admin? In the documentation-side with the headline “Translation, Internationalization and Multi Language optimization” you show a screenshot with an option-field “Show content in Enlish, ….” This option-field isn’t visible for me. Thats why I said, perhaps I did something wrong.
b) I just tried it, but even if I log in as an editor, I find the backend-menu “Portfolio Items” – of course, how else could the editor add an portfolio – but only in English.
When translation is mentioned as a feature of this theme, why doesn’t it work?
In my wp_config in wordpress’ root the language definition is “define (‘WPLANG’, (‘de’==’de’) ? ‘de_DE’ : ‘en_EN’);”
Even if I change it in “define (‘WPLANG’, ‘de_DE’);” the German language file in the themes /lang folder obviously isn’t found.
So I’m not really satisfied. Any ideas?
BernhardSeptember 30, 2012 at 6:37 am #92312
1) In wp-config.php use following code:
define ('WPLANG', 'de_DE');
2) The german language files affect the frontend only – thus the admin interface will NOT be in German even if the language files are installed properly. Eg “Portfolio Items” will still be in English. Only frontend text strings like “You are here” in the breadcrumbs area, “page y of x”, etc. will be displayed in German instead.
3) The “Show content in Enlish” option field is part of WPML. WPML allows you to translate all entries (portfolio entries, posts and pages) into another language. Because some users want to use different logos and settings for each language Kriesi decided to save the dynamic templates & options for each language. The option field “Show content in” is required to display all options/entries, etc. for your “English” website, your “German” website, etc. – however it does not translate the theme options panel itself.September 30, 2012 at 5:06 pm #92313
thanks a lot for this detailed explanation :-)
So the “customer problem” can only be solved by translating the visible theme options panel expressions in the source itself, even if I have to repeat this in the case of a themes’ update.
BernhardOctober 1, 2012 at 1:52 pm #92314
The topic ‘German language file’ is closed to new replies.