Background of the issue:
I am trying to ensure that all translations are correctly displayed on my website. I noticed that string translations are saved and marked as OK, but they are not being used. Instead, the default English is displayed. When I open a translation that is already correct and saved, and then save it again, it works. This is tedious as I have to do this for hundreds or thousands of issues. The issue can be seen on this page: hidden link.
Symptoms:
String translations are saved and marked as OK, but the default English is used instead. After re-saving a translation, it works correctly. The expected result was to see Norwegian everywhere, but instead, there is a mix of English and Norwegian.
Questions:
Why are the saved translations not being used?
Is there a way to fix this issue without manually re-saving each translation?
Thank you for contacting WPML support, I’m happy to help you with this issue.
On the checkout page, I see you are using the plugin CheckoutWC to customize the checkout page. It looks like the translation strings are generated to the MO file and downloaded to your site but not managed by String Translation.
I suggest you go to WPML > Theme and plugins localization > Enable option "Automatically load the theme's .mo file using 'load_textdomain'", add the plugin CheckoutWC text domain and save to see if it helps.
Looking forward to your reply.
Thanks
The topic ‘[Closed] String translations saved and showed as OK, but are not used. Instead default english is used.’ is closed to new replies.
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.