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.
16 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
44 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
44 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
forreggbor
14 Posts
forreggbor posted this 18 December 2017

I just downloaded the latest available woocommerce themler template (v.432)
The translation still not work on Hungarian language. On top of that Page not found displayed if I click on any product or menu item. It looks like the URL also doesn't translated. For example in Hungarian I should see this: www.xyz.hu/termekek/product-name. Instead I see this: www.xyz.hu/product/product-name.

After the installation I see this message: "Your theme (Untitled) contains outdated copies of some WooCommerce template files. These files may need updating to ensure they are compatible with the current version of WooCommerce. You can see which files are affected from the system status page. If in doubt, check with the author of the theme."

If I install any other template from wordpress store all the translation works perfectly so there is something really wrong with the translation in Themler.

Although I downloaded the latest themler I see that it is already outdated but Wordpress doesn't offer to update it. See attached picture.

Although I can modify the code manually I don't want to do it. I paid for Themler for years so I would like to get a well working product.

Themler seems to become more and more bad product. It's a shame.

I just downloaded the latest available woocommerce themler template (v.432) The translation still not work on Hungarian language. On top of that Page not found displayed if I click on any product or menu item. It looks like the URL also doesn't translated. For example in Hungarian I should see this: www.xyz.hu/termekek/product-name. Instead I see this: www.xyz.hu/product/product-name. After the installation I see this message: "Your theme (Untitled) contains outdated copies of some WooCommerce template files. These files may need updating to ensure they are compatible with the current version of WooCommerce. You can see which files are affected from the system status page. If in doubt, check with the author of the theme." If I install any other template from wordpress store all the translation works perfectly so there is something really wrong with the translation in Themler. Although I downloaded the latest themler I see that it is already outdated but Wordpress doesn't offer to update it. See attached picture. Although I can modify the code manually I don't want to do it. I paid for Themler for years so I would like to get a well working product. Themler seems to become more and more bad product. It's a shame.

Last edited 18 December 2017 by forreggbor

Support Team
Support Team posted this 20 December 2017

Hello,

After the installation I see this message: "Your theme (Untitled) contains outdated copies of some WooCommerce template files. These files may need updating to ensure they are compatible with the current version of WooCommerce. You can see which files are affected from the system status page. If in doubt, check with the author of the theme."

This message refers to the text comment with version number in the cart.php file. It does not affect anything. We'll adjust the version number in the future Themler updates. Please do not modify theme files manually as it may cause various problems. The Shopping cart itself should work ok.

The translation still not work on Hungarian language. On top of that Page not found displayed if I click on any product or menu item. It looks like the URL also doesn't translated. For example in Hungarian I should see this: www.xyz.hu/termekek/product-name. Instead I see this: www.xyz.hu/product/product-name.

What plugin are you using to translate URLs?

Thank you,
Olivia

Hello, > After the installation I see this message: "Your theme (Untitled) contains outdated copies of some WooCommerce template files. These files may need updating to ensure they are compatible with the current version of WooCommerce. You can see which files are affected from the system status page. If in doubt, check with the author of the theme." This message refers to the text comment with version number in the cart.php file. It does not affect anything. We'll adjust the version number in the future Themler updates. Please do not modify theme files manually as it may cause various problems. The Shopping cart itself should work ok. > The translation still not work on Hungarian language. On top of that Page not found displayed if I click on any product or menu item. It looks like the URL also doesn't translated. For example in Hungarian I should see this: www.xyz.hu/termekek/product-name. Instead I see this: www.xyz.hu/product/product-name. What plugin are you using to translate URLs? Thank you, Olivia
You must log in or register to leave comments