Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is unable to translate the payment method blocks for PayPal and credit card using the Booklium theme (MotoPress) on their website. Although the strings are translated in the editor, they still appear in the original language on the website.
Solution:
1. We recommend following our documentation to locate all relevant strings, especially in the "Translate texts in admin screens" section, and translate them to see if it resolves the issue. You can find the documentation here: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/
2. It's important to note that the domain for these strings is "MotoPress Hotel Booking". Ensure that you are translating strings in the String Translation under the correct domain, and the translations should display correctly on the frontend.

If this solution doesn't look relevant, please open a new support ticket here: WPML Support Forum.

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 6 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 3 months ago.

Assisted by: Long Nguyen.

Author Posts
January 18, 2024 at 3:41 am #15197565

joaoR-15

Hi.

Another thing. I'm using booklium theme (Motopress) and I can't seem to translate the strings on the payment method blocks. Paypal and credit card. The strings are translated on the editor, but on the website the original text remains. If you book any apartment and proceed to payment every word is translated, except this 2 strings.

If you want to test it: hidden link

Thanks.
Best

January 18, 2024 at 3:59 am #15197657

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Joao,

Here is another ticket. Please follow the documentation below to find all relevant strings (specific in "Translate texts in admin screens" area) and translate them all to see if it helps.
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Look forward to your reply.
Thanks

January 18, 2024 at 2:12 pm #15200434

joaoR-15

Hi.
I found the strings (I think) using the "Translate texts in admin screens" link. But I get "This setting is locked by a WPML configuration file." and I can't change it. What should I do now?

Thanks

January 19, 2024 at 2:35 am #15202687

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

That means the string is already added to String Translation and you can go to WPML > String Translation and translate it. If it doesn't help, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.

Look forward to your reply.
Thanks

January 23, 2024 at 2:19 am #15213917

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

The domain of those strings is "MotoPress Hotel Booking", not the "admin_texts_xxx". I translate strings in String Translation and the translations are displayed as well in the frontend. Please check the screenshots attached.

Look forward to your reply.
Thanks

String Translation ‹ AngrA+ — WordPress 2024-01-23 09-09-47.png
Booking confirmation | AngrA+ 2024-01-23 09-10-20.png
January 23, 2024 at 10:40 am #15215656
joaoR-15

Hi,

Thank you very much. That one is solved.

Now I'm having another problem.
First, I can´t seem to understand why does string translation appear from English to Portuguese. This is, if I search terms for translation in Portuguese I get Portuguese words/blocks that are set to be English in WPML, in this case I'm able to add a Portuguese translation but it should be the other way around (see image 1, please) because the website language is set to Portuguese by default.

Second, I'm having the same problem as before: text inside the contact form (here: hidden link) is not getting translated and I can't find it (see image 2).

On the contact form translations should be:

Content:
Nome* -> Name*
E-mail* -> Email*
Mensagem -> Message

Button:
Enviar -> Send

Thanks a lot for your time!

New threads created by Long Nguyen and linked to this one are listed below:

https://wpml.org/forums/topic/the-text-inside-the-contact-form-is-not-getting-translated-and-i-cant-find-it/

2.png
1.png
January 24, 2024 at 1:41 am #15219371

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

By default, the source language of strings in the theme is English, you can follow the documentation below to change the source language of strings.
https://wpml.org/documentation/getting-started-guide/string-translation/how-to-change-the-source-language-of-strings/

We can handle one issue per ticket only so I will split your second issue to translate contact form strings into another ticket for better handling.

If you see the main issue of this ticket with translating payment method strings resolved, please mark it as Resolved.

Thanks.