[Resolved] Can't find strings for Klarna Payments plugin
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is using the Klarna Payments for WooCommerce plugin and is unable to find the plugin's strings translated into Greek in the string translation to translate them into English, despite scanning the plugin and theme and using various translation options. Solution: We recommend modifying the plugin's code to ensure WPML correctly identifies and translates the strings. Follow these steps: 1. Edit the file at
Please ensure to back up your site before implementing these changes.
If this solution does not resolve your issue or seems outdated, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum.
0% of people find this useful.
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.
The problem is that the plugin's strings are translated in Greek because the account is in Greek and we can not find them in string translation to translate them in English.
We have scaned the plugin and the theme, we have used translate in admin screen and Look for strings while pages are rendered option. Still we did not found anything.
Thanks for contacting WPML forums support. I'll be glad to help you today.
Please try the following steps:
1- Go to WPML-> Theme and plugins localization, select your theme/plugin, and scan
2- Go to WPML-> String Translation
3- Scroll down and click on the "Translate texts in admin screens »" link
4- Search for the needed strings
5- Select the strings
6- Click on the "Add to String Translation" button
7- Then click on the "« Return to String Translation" link
8- Translate the strings, clear the cache, and check the front end
I saw that you scanned the plugin and searched for the strings in String Translation, but I didn't notice that you checked the strings in the Admin Screen strings. Sorry about that.
Please share screenshots of the strings in the front end and dashboard (Plugin Settings).
Thanks for the screenshots. I can see the string in both languages in English. (Kindly check this hidden link)
I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Thanks for the access details. I checked the issue and tried some workarounds with no luck.
When you are logged in, you will see the strings in Greek in both languages and when you are logged out, you will see the strings in English in both languages.
Please log in to this sandbox site and add the same message to the product page. (hidden link)
I installed the Klarna plugin, created a product, and translated it. (hidden link)
If the issue is replicable, please let me know to consult our compatibility team.
You need to add credentials to be able to view klarna payment method in the front end. We can not use ours because it needs a shop to connect and we have already connected it with our client's shop.
Can you contact with Klarna and get test credentials for the demo site?
1) Our compatibility team is trying to contact the plugin author, and it will take some time to debug the issue and check if we can provide a workaround; hence, the plugin is not officially compatible with WPML.
2) It would be great if you could contact the plugin's support and consult them regarding this issue.
Sorry for the inconvenience. We are doing our best to reach the plugin author to find out what caused the issue and whether this string is translatable.
Please let me know if you contacted the plugin support team regarding this issue. If you did, please let us know their reply.
I'll update you as soon as I get an update from our compatibility team.