Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Our next available supporter will start replying to tickets in about 2.81 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 -

Supporter timezone: Europe/Paris (GMT+02:00)

This topic contains 15 replies, has 2 voices.

Last updated by Yvette 2 years, 3 months ago.

Assisted by: Yvette.

Author Posts
December 23, 2021 at 4:44 pm #10240547

enrikB

I am trying to:
Translate shipping method names.
I tried following all of the procedures described in the following tickets:
https://wpml.org/forums/topic/translate-shipping-method-names-in-woocommerce/
https://wpml.org/forums/topic/cannot-find-where-can-i-translate-shipping-method/
https://wpml.org/forums/topic/translating-shipping-methods-2/
None of them works.

Hier is the string translated: hidden link

Link to a page where the issue can be seen:

Add a product to cart: hidden link

Go to either:
hidden link
or:
hidden link

I expected to see:
Shipping name should be translated to "Free shipping".

Instead, I got:
Shipping name is not translated: hidden link

December 24, 2021 at 7:47 am #10243119

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+02:00)

Hello

Please try the following with one of your shipping methods to see if this works:

- Change your admin language to "English"
- Go to Woocommerce Settings and enter the shipping method name in ENGLISH
- Then go to String Translation and translate this label/name to GERMAN

When you now do the order process, are you able to see this shipping name now in the correct language?

I have found with some processes in Woocommerce, it only works if you configure the Woocommerce options in English. Please give this a try with one of your shipping methods and let me know if it works or not.

Thanks

January 3, 2022 at 10:51 am #10276261

enrikB

Hi Yvette,

Thank you for your feedback.
Unfortunately, your solution did not work.

I changed the language in backend to English (which is not the origin language in WPML, German is): hidden link

And named the shipping methods in english: hidden link

Then found and translated them in string translation: hidden link , hidden link

But the strings won't be translated in frontend. Only the text added in WooCommerce Settings (now english) is output in all languages, ignoring any and all translations from string translations: hidden link

Best Regards,
Rasti

January 5, 2022 at 2:54 pm #10292825

enrikB

Hi Yvette,

Do you eventually have another recommendation to a solution?

Best Regards,
Rasti

January 7, 2022 at 9:35 am #10303735

enrikB

Hi there,

We still need assistance with this issue.
Can we, please, have feedback on this?

Best Regards,
Rasti

January 10, 2022 at 8:12 am #10315787

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+02:00)

Sorry for the delay - I am now back in the office.

1. Temporary Access to your system
Please provide access to your system (wp-admin and ftp) so that I can further investigate this particular problem. The fields to provide this data are included in a private section that I will open for your next response. You can find it above the comments area. The information in this private section is only visible between WPML Support and you.

2. If required, do I have your permission to temporarily deactivate non-WPML plugins except for Woocommerce? If not, could you please create a Duplcator snapshot of your site as per this article so I can work on the issue locally?
https://wpml.org/faq/provide-supporters-copy-site/

January 14, 2022 at 12:35 pm #10352097

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+02:00)

Hello

Thanks for your duplicator. I installed it on a local server and then upgraded all plugins to their latest levels. WIth these actions, I am seeing the translated texts (see image).

Can you try this on a staging site?

Warenkorb-Blashaus-Blashaus.png
January 14, 2022 at 2:19 pm #10353141

enrikB

Hello Yvette,

Thank you for your feedback.
I did updated everything as you advised, unfortunately that didn't help either.
Based on the screenshot (of the german translation), I suspect it didn't help on your local copy either.
Also on our staging installation (which is now updated) the german translation is correct but the english does not work.
Screenshot of german: hidden link
Screenshot of english: hidden link

Now you can experiment on our staging installation as well.
Find it under: dev.blashaus.ch

Best regards,
Rasti

January 14, 2022 at 3:25 pm #10353473

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+02:00)

When I log in to the dev site, I find myself surprisingly in the bakend of the live site!

Fortunately, I caught this before making any major changes (yikes).

Can you please check this. I expect to be in dev.blauhaus.ch/wp-admin/ when I login.

January 17, 2022 at 9:15 am #10363931

enrikB

Hi Yvette,

Thank you for your feedback.
I can see it. Apparently the search-replace didn't catch all the URLs.
Now it's corrected.

Best regards,
Rasti

January 20, 2022 at 8:48 am #10390611

enrikB

Hi Yvette

We still need assistance with this issue. What is the status?

Best regards
Rasti

January 20, 2022 at 9:05 am #10390671

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+02:00)

Please check your staging site. It currently has the Storefront theme activated and one product translated. (Selma)

- I have deactivated 2 plugin that seem to be interfering with testing.
- I also had to translate the product base to DE

With these changes, the following happens.

- With a duplicated product "Selma", the shipping methods are translating and appearing as expected.

- With a non-translated/non-duplicated product "Amati", the shipping method is not translating.

So it seems this is the heart of the issue.

The next step would be to try to replicate this behaviour on a fresh sandbox but I wanted your confirmation on this on your site first. Unfortunately, when I try to test this with your regular theme, I get a system error and I am not sure why... there are 2 copies of your theme in the site so perhaps one is not valid or perhaps it requires one of the deactivate plugins to be activated.

I wait for your response and will prepare a sandbox site in the meanhwile.

January 20, 2022 at 1:04 pm #10393403

enrikB

Hi Yvette,

I can confirm your findings.
However, I fail to see a connection between the content of the cart and the translation of the shipping name string on the cart and/or checkout page.
But I understand, this is suggesting the further direction of your investigation.

Yes, the theme is dependent on a few plugins (at least ACF Pro and Standard Plugin für Projekte der WebKinder).

Best regards
Rasti

January 20, 2022 at 3:59 pm #10395285

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+02:00)

Ok. This seems to be a version of a problem that was already reported here:
https://wpml.org/forums/topic/product-display-as-translated-does-not-display-the-shipping-tranlation/

In your case, with the Amati product, I have temporarily increased the quantity for sale to be 2.

Now, if you execute a change of language on the cart of checkout page AND ALSO update the cart qty, you will see the shipping titles change to the correct language.

Video: hidden link

This is simply to illustrate that the problem on your site is the same as the one which has already been reported.

The workaround, as there has not been a fix delivered yet, is to duplicate your products to the target language to avoid this issue as we have done with the "Selma" product.

January 21, 2022 at 9:12 am #10400635

enrikB

Hello Yvette

Thank you for your feedback.

We will translate/duplicate all the products and instruct our client to do so every time they add a new one.

What do you propose can we do, to bring it back to your developer team's attention. The ticket you directed me to is already one year old and the bug has clearly not been addressed yet.

Best regards,
Rasti