This topic has 8 replies, 3 voices, and was last updated 10 years, 6 months ago ago by Eva Kemp
Hi,
I can’t get it done to translate Woocommerce into the Dutch language. I have tried several things, like updating te .po/.mo files in Woocommerce directory (wp-content/plugins/woocommerce/i18n/languages) and also defined ‘nl_NL’ tag in wp-config.php. The “Codestyling Localization” plugin also doesn’t work. It gives the following error message:
Loading Issue: Author is using load_textdomain instead of load_plugin_textdomain function. This may break behavior of WordPress, because some filters and actions won’t be executed. Please contact the author.
I really don’t know what to do now. I already changed some text in the php files like the shopping cart text.
Can you please help me?
Thanks!
Hello,
Please provide us with link where you have problem with translation.
Also please read carefully how to translate in our documentation: https://www.8theme.com/demo/docs/xmarket/#!/how_to_translate.
Regards,
Jack Richardson
Hello Jack,
It’s a overall Woocommerce translation problem. For example see the link under private content.
We have translated the text “Qty” and “Clear selection” (into dutch) in the .po/.mo files for this page. But unfortunately, nothing changes.
The Dutch Woocommerce translation doesn’t work al all. The other Dutch text you’ll see on this page, like the order button (“Bestel”) was manually translated in the php files.
I have used poedit to translate the .po/.mo files.
Regards,
Nick
Hello,
Please provide us with FTP and wp-admin access in Private Content.
Regards,
Jack Richardson
Hello Jack,
See details in Private Content.
Regards,
Nick
Hello,
Unfortunately this is a bug with the translation in our theme which should be fixed in future update.
Meanwhile you can translate the text via files. To translate “Qty” open the file quantity-input.php in wp-content/themes/xmarket/woocommerce/global directory, find the code <label><?php _e('Qty:', ETHEME_DOMAIN); ?> </label>
(line 13) and replace “Qty” text with your own.
In the directory wp-content/themes/xmarket/woocommerce/single-product/add-to-cart open the file variable.php and edit the code echo '<a class="reset_variations" href="#reset">' . __( 'Clear selection', ETHEME_DOMAIN ) . '</a>';
(line 74) and translate “Clear selection” text to your language.
Please take our apologies for the inconveniences.
Regards,
Eva Kemp.
Hello Eva,
Thanks for your answer. I have translate the text via files. I hope this bug will be fixed soon.
I also have some other issues (see private content).
Regards,
Nick
Hello,
1. This text can be translated in the file cart-totals.php in the directory /wp-content/themes/xmarket/woocommerce/cart
Find the code:
printf( __( 'Note: Shipping and taxes are estimated%s and will be updated during checkout based on your billing and shipping information.', ETHEME_DOMAIN ), $estimated_text );
(line 90)
2. The billing form text can be translated in the directory /wp-content/plugins/woocommerce/i18n/languages. Select the file of your language to make changes.
3. I’ve just checked two buttons on the home page and they are redirecting to other pages.
4. To style the image add the following code into custom.css file:
@media only screen and (max-width: 959px) { .containerInner img {
max-width: 100%;
max-height: 170px;
} }
5. Make all changes in custom.css. To create it you may rename default.custom.css that is located in the /wp-content/themes/xmarket directory, then you need enable it in XMarket – Theme Settings > tick “Enable Custom CSS file”.
Regards,
Eva Kemp.
The issue related to '‘Dutch Woocommerce translation doesn't work’' has been successfully resolved, and the topic is now closed for further responses