Digital experiences for all disciplines
New Landing › How can we help? › Atelier › Translation issue
New Landing › How can we help? › Atelier › Translation issue
- This topic has 4 replies, 2 voices, and was last updated 6 years by David Martin – Support.
-
Posted in: Atelier
-
June 25, 2017 at 4:04 pm #329977
Woocommerce has a Romanian translation and with the default theme almost everything gets translated.
Yet, after activating Atelier theme, the same things that were previously translated with the default theme, now are in English (the default language)
Any idea on how I could correct this ?
Thank you!
June 27, 2017 at 12:38 am #330119Ok, so basically your theme overrides Woocommerce translation files. This means that instead of translating only the theme specific stuff, I need to translate all Woocommerce (2500+ lines) + theme specific stuff
Can you please tell me what do I need to do to revert the translation to the Woocommerce one ? Better to have 2500 expressions translated. I have tried this without success, even if the translation files are in that directory:
load_theme_textdomain('woocommerce', $wpDir.'/wp-content/languages/woocommerce');
Can you please advice ?
June 27, 2017 at 9:21 am #330129Hi,
No that is not correct, we only override specific WooCommerce template files/strings – not all of them.
Any custom theme that interacts with WooCommerce this way will require both the theme and the plugin to be translated.
To translate the theme, please refer to these docs: http://www.swiftideas.com/knowledgebase/translating-the-theme-using-poedit/
To translate the WooCommerce plugin, please refer to these docs: https://docs.woocommerce.com/document/woocommerce-localization/
Thanks.
June 27, 2017 at 8:15 pm #330278Your atelier.pot file has 2000+ strings.
You have basic stuff in there like: Add to Cart, Username, Out of stock, Remember me
Why would you have these (override them from Woocommerce) in the first place ?
Shouldn’t you only provide a .pot file with the strings not already in Woocommerce, or at least not the obvious ones ?
You point me to translate a theme. Do you know what it means to translate 2000+ strings, when most of them are already in Woocommerce which is translated in my language, while Atelier not ?
So you override most of Woocommerce strings, but not provide a translation in my language ? Who in their right mind translates 2000+ strings of a theme ? And it should be ok as long as they are theme specific strings, but force me to translate Add to Cart, Username, Out of stock, Remember me and 1000s that normally already come translated with Woocomerce is ridiculous and most of all unfeasible, time and money consuming
But why ? Why override: Add to Cart, Username, Out of stock, Remember me ?…
June 28, 2017 at 4:16 pm #330398Hi,
We override strings if we have modified the core WooCommerce template files or functions within the Atelier theme. This is standard practise.
Modifying/adding translation strings to your own language file is normal, even if the theme comes with a full/partially translated language file.
Thanks,
David. -
Posted in: Atelier
You must be logged in and have valid license to reply to this topic.