Woocommerce Shopping Cart - wrong language

Teclis16
7 Posts
Teclis16 posted this 21 April 2017

My Woocommerce page is completly displayed correctly in German, but the buttons in shopping cart are displayed in English. How can I manually change it?

My Woocommerce page is completly displayed correctly in German, but the buttons in shopping cart are displayed in English. How can I manually change it?
Vote to pay developers attention to this features or issue.
14 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 24 April 2017

Hello Steffen,
Themler theme wraps all titles into translation function. For example:

<a href="<?php echo $woocommerce->cart->get_checkout_url(); ?>" class=" bd-button-22"><?php _e('Proceed to Checkout', 'woocommerce'); ?></a>

If some text is not translated it means that there is no appropriate key in the translation files.
You can add them manually. There are a lot of instructions on how to do it. The .po files can be edited manually using text editor, the .mo files can be generated using Poedit, for example. There are also a lot of WP localization plugins.

regards,
Aileen

Hello Steffen, Themler theme wraps all titles into translation function. For example: <a href="<?php echo $woocommerce->cart->get_checkout_url(); ?>" class=" bd-button-22"><?php _e('Proceed to Checkout', 'woocommerce'); ?></a> If some text is not translated it means that there is no appropriate key in the translation files. You can add them manually. There are a lot of instructions on how to do it. The .po files can be edited manually using text editor, the .mo files can be generated using Poedit, for example. There are also a lot of WP localization plugins. regards, Aileen
Teclis16
7 Posts
Teclis16 posted this 03 May 2017

I looked it up in the .po file and both buttons are already translated correctly.

In the past it was working, any ideas?

I looked it up in the .po file and both buttons are already translated correctly. In the past it was working, any ideas?
Support Team
Support Team posted this 04 May 2017

Hi,

If translation file contains the listed keys, then the text on buttons should be translated.
Please make sure that exactly this translation file is used and .mo file is up to date.
I've failed to reproduce this issue on my side.

Thank you,
Olivia

Hi, If translation file contains the listed keys, then the text on buttons should be translated. Please make sure that exactly this translation file is used and .mo file is up to date. I've failed to reproduce this issue on my side. Thank you, Olivia
Rune
42 Posts
Rune posted this 23 May 2017

It's still a problem in the Cart.

Update, Proceed to checkout and Apply coupon are not translated - And the strings are in the translationfiles.
Do you make them in uppercase or something that don't call the right string?

It's still a problem in the Cart. Update, Proceed to checkout and Apply coupon are not translated - And the strings are in the translationfiles. Do you make them in uppercase or something that don't call the right string?
Support Team
Support Team posted this 23 May 2017

Hi,

Most probably the issue is related to text case: "Apply coupon" >> "Apply Coupon".
We plan to fix the issue with the case of translation keys in the future Themler updates.
In the meantime you can correct translations manually.

Thank you,
Olivia

Hi, Most probably the issue is related to text case: "Apply coupon" >> "Apply Coupon". We plan to fix the issue with the case of translation keys in the future Themler updates. In the meantime you can correct translations manually. Thank you, Olivia
Teclis16
7 Posts
Teclis16 posted this 24 May 2017

Where do I change it?
Do I change it in the "woocommerce-de_DE.po"-file?

Where do I change it? Do I change it in the "woocommerce-de_DE.po"-file?
Support Team
Support Team posted this 24 May 2017

Hi

Yes, you need to edit .po file and then regenerate .mo. Woocommerce suggests Loco translate plugin for this:
https://docs.woocommerce.com/document/woocommerce-localization/

Thank you,
Olivia

Hi Yes, you need to edit .po file and then regenerate .mo. Woocommerce suggests Loco translate plugin for this: https://docs.woocommerce.com/document/woocommerce-localization/ Thank you, Olivia
Rune
42 Posts
Rune posted this 10 June 2017

Is there a string-fix soon?

Is there a string-fix soon?
Teclis16
7 Posts
Teclis16 posted this 13 June 2017

How-to:

  1. Download woocommerce.pot from you FTP Server /wp-content/plugins/woocommerce/i18n/languages
  2. Open the file with text editor --> ctrl+f to find "Update cart" and change it to "Update Cart"
  3. Save it and upload to /wp-content/plugins/woocommerce/i18n/languages
  4. Install the "Loco Translate " plugin and go to "Loco Translate --> Plugins --> Woocommerce --> choose your language --> press sync --> search for "Update Cart" and enter the translation --> Save it --> press snc and you are done

How-to: 1. Download woocommerce.pot from you FTP Server /wp-content/plugins/woocommerce/i18n/languages 2. Open the file with text editor --> ctrl+f to find "Update cart" and change it to "Update Cart" 3. Save it and upload to /wp-content/plugins/woocommerce/i18n/languages 4. Install the "Loco Translate " plugin and go to "Loco Translate --> Plugins --> Woocommerce --> choose your language --> press sync --> search for "Update Cart" and enter the translation --> Save it --> press snc and you are done
Support Team
Support Team posted this 13 June 2017

Hi,

We fixed translations in the latest Themler hot-fix update.

Thank you,
Olivia

Hi, We fixed translations in the latest Themler hot-fix update. Thank you, Olivia
Teclis16
7 Posts
Teclis16 posted this 13 June 2017

Today, it still did not work.

Today, it still did not work.
Support Team
Support Team posted this 19 June 2017

Hi,

We'll check it. In the meantime please use the solution with editing translation files.

Thank you,
Olivia

Hi, We'll check it. In the meantime please use the solution with editing translation files. Thank you, Olivia
ralph.ritter17
1 Posts
ralph.ritter17 posted this 14 July 2017

Hi,

when do you expect a fix for this issue?

thanks!

Hi, when do you expect a fix for this issue? thanks!
Support Team
Support Team posted this 18 July 2017

Hi,

The issue with translations will be fixed in the next Themler update.

Thank you,
Olivia

Hi, The issue with translations will be fixed in the next Themler update. Thank you, Olivia
You must log in or register to leave comments