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.

This topic contains 3 replies, has 2 voices.

Last updated by Bruno Kos 1 year, 9 months ago.

Assigned support staff: Bruno Kos.

Author Posts
November 12, 2020 at 2:08 pm

gvidoD

hi. I am having some weird issues with the wocommerce payment translations. I think i messed something up because i changed them multiple times

November 12, 2020 at 2:55 pm
November 12, 2020 at 9:33 pm #7438297

gvidoD

I deactivated all plugins, installed the latest wpml version and switched the theme to the default one. Still got this issue that i wrote about in the chat with payment methods not being translated.

Screenshot 2020-11-12 at 23.26.59.png
November 15, 2020 at 12:05 pm #7451219

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

As far as I see, this is another case of https://wpml.org/errata/in-some-cases-some-strings-are-not-translating-properly/.

So payment gateways titles and checkout translations only work when "Look for strings while pages are rendered" is active. However the thing is that I am unable to find any of these within either string translation or admin strings.

That's why I escalated this case to our 2nd tier supporter who is a specialist for these issues. In the meantime, can I ask you the following? In order to debug this issue, can you install Duplicator plugin and create packages?

https://wpml.org/faq/provide-supporters-copy-site/

Let me know if this is OK with you.

Regards,
Bruno Kos

November 17, 2020 at 7:29 am #7463353

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

We may have found a cause of this and a solution. The website requests the MO files, but they don't exist. Can you try this on your site?

- Go to Woocommerce > Settings >Payments and click on "Manage" to edit the payment method
- Do a small modification on the title (I added "test1"), change the language of the string to English and save
- Go to WPML > String Translator > Translate texts in admin screens
- Find the string (e.g. [woocommerce_bacs_settings]title) and add it to String Translator
- Translate the string
- Go to WPML > Support > Troubleshooting and click on "Show custom MO Files Pre-generation dialog box"
- Generate MO files
- After that, the strings are displayed on front-end.

Does it work?

Regards,
Bruno Kos

image1605549200519.png
ss53.PNG