Home›Support›English Support›[Resolved] I can't seem to translate the strings on the payment method blocks
[Resolved] I can't seem to translate the strings on the payment method blocks
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.
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.
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?
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.
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.
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).
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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.