Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

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

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by Marsel Nikolli 1 year, 9 months ago.

Assisted by: Marsel Nikolli.

Author Posts
November 20, 2023 at 11:35 am #14875943

Michiel Scheepens

String translation not active for certain (checkout plugin) text domain. Only if I check the 'Auto register strings for translation' the text is displayed correctly. The other text domains are always displayed correctly on the front.

(staging environment for order.altares.com)
hidden link

screenshot-comaltare-duanji.savviihq.com-2023.11.20-12_29_28.png
screenshot-comaltare-duanji.savviihq.com-2023.11.20-12_13_43.png
November 20, 2023 at 2:30 pm #14878215

Marsel Nikolli

Hi,



Thank you for contacting WPML Support, I will be happy to help you today.


To properly translate strings from plugins/themes, please try the following steps:

1- Go to WPML > Theme and plugins localization, select the plugin you are using and scan it
2- Go to WPML > String Translation
3- Scroll down and click on the "Translate texts in admin screens »" link
4- Search for the strings you want to translate
5- Select the checkbox next to the string
6- Click on the "Add to String Translation" button
7- Go back to WPML > String Translation
8- Search for the string and translate it

Please check this guide for more details about how to find the strings that don't appear in the String Translation page: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#scan-the-theme-or-plugin

Let me know if this helps out.

Kind regards,
Marsel

November 20, 2023 at 3:15 pm #14878769

Michiel Scheepens

Hi Marsel,

Think you misunderstood. The strings are already translated, but won't get displayed in French!
KR.
Johan

screenshot-comaltare-duanji.savviihq.com-2023.11.20-16_11_33.png
November 20, 2023 at 3:56 pm #14879257

Marsel Nikolli

Hi Johan,

I am sorry for the misunderstanding.

To further troubleshoot the issue, would it be possible to check in your staging site if the issue happens in a minimal setup, that meaning:

- set a default WP theme
- keep active only WPML and necessary plugins to reproduce the issue
- disable all other plugins

After, check if the issue is still happening.

Note: Please make sure you have a full backup (files & database) before trying anything on your website.

Looking forward to your reply,
Marsel

November 22, 2023 at 1:47 pm #14898543

Michiel Scheepens

Hi,
I did all kind of debugging, including other theme, older wp version, and toggle plugins on/off. Issue still remains.
Looks like there is a translate problem for the strings in the dnb-checkout plugin. Only if I do 'auto register' it will displayed on the front in the right language.
It used to be fine.

I also tried:
- WPML - > Support -> Troubleshooting:
--> Show custom MO Files Pre-generation dialog box

And then run "Generate .mo files" when it appears.
Didn't work either..

November 22, 2023 at 4:40 pm #14901011

Marsel Nikolli

This seems to be a compatibility issue, the plugin “D&B Checkout” seems not to be part of the list of compatible plugins with WPML.

I would suggest you reach out to the plugin’s authors and invite them to join our Go Global program. Our compatibility team would be happy to work with them in making the plugin fully compatible with WPML. More information about our program: https://wpml.org/documentation/support/go-global-program/

To further troubleshoot the issue I set up a sandbox site where I would require you to try to reproduce the issue, link to sandbox below (one-click-login):

hidden link

Please on the sandbox:
- upload only the necessary theme/plugin necessary to reproduce the issue
- WPML and WCML plugins are already active

I would appreciate if you could tell me how to reproduce the issue step by step.

Looking forward to your reply,
Marsel

November 23, 2023 at 12:56 pm #14908067

Michiel Scheepens

Hi,
Well the translation to dutch for the plugin strings works fine. Just the french translations are not showing on the front. But are in place in the back-end (see attachments). We also have other installs with the same plugins, which are fine.
Instead of building and replicating the issue I rather give you access to the staging environment. I can make a temporarily login and send you the url. Is that something that will work for you?
Thanks, Johan

To FR.png
To Dutch.png
November 23, 2023 at 1:04 pm #14908265

Marsel Nikolli

Hi Johan,

Thanks for the update, yeah a staging site will work to check out what is happening.

I set your next reply as private so you can share the access details.

Thanks,
Marsel

November 23, 2023 at 1:58 pm #14908793

Marsel Nikolli

Thanks,

I was able to check the staging site, and it all seems configured correctly.
I wasn't able to see any cache plugin on the website, but would it be possible to do first a full cache clean of the website (hosting level included)?

After, if the issue persists, try next in a minimal setup using a default WP theme, activate only WPML plugins and the plugin where the string you want to translate is.

Let me know,
Marsel

November 27, 2023 at 1:31 pm #14930595

Michiel Scheepens

Hi Marsel,
Didn't solve the issue. We will have the plugin developer (checkout plugin) look into it.
Thanks,
Johan

November 27, 2023 at 1:43 pm #14930635

Marsel Nikolli

Hi Johan,

Thank you for the update.

I can suggest a quick test and see if it helps out, try deleting the string and then scan the plugin to register it again for translation and see if translating it again helps out.

To further troubleshoot we would need to setup the sandbox or get a copy of your website and test out in a different local/testing environment.

Let me know if there is anything I can help with,
Marsel

The topic ‘[Closed] String translation not active for certain text domain’ is closed to new replies.