Dutch Woocommerce translation doesn't work

This topic has 8 replies, 3 voices, and was last updated 10 years, 5 months ago ago by Eva Kemp

  • Avatar: scuba
    scuba
    Participant
    June 6, 2014 at 01:04

    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!

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 6, 2014 at 07:39

    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

    Avatar: scuba
    scuba
    Participant
    June 6, 2014 at 08:20

    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

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 6, 2014 at 08:23

    Hello,

    Please provide us with FTP and wp-admin access in Private Content.

    Regards,
    Jack Richardson

    Avatar: scuba
    scuba
    Participant
    June 6, 2014 at 08:45

    Hello Jack,

    See details in Private Content.

    Regards,

    Nick

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    June 6, 2014 at 09:25

    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); ?>&nbsp;</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.

    Avatar: scuba
    scuba
    Participant
    June 10, 2014 at 04:54

    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

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    June 10, 2014 at 11:55

    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.

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘Dutch Woocommerce translation doesn't work’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.