Background of the issue:
I am trying to retrieve translated strings using WPML within an AJAX call. The selected language is being correctly detected in the AJAX request. Link to a page where the issue can be seen: hidden link
Symptoms:
The original (default) language strings are returned instead of the expected translations in the AJAX response.
Questions:
Why are the translated strings not appearing in the AJAX response?
How can I ensure the correct translations are applied in AJAX calls?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Please take a backup of your site and database.
Then go to Plugins > Add new > Commercial and click "Check for WPML Updates".
Install the latest versions of our plugins.
Further, I see that the countries are not translated inside the filter of your example page. Revise if these taxonomies were translated correctly at WPML > Taxonomy Translation.
If this will not solve the issue, please let me know.
Best regards
Andreas
The topic ‘[Closed] WPML String Translations Not Working with AJAX Calls’ 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.