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 1 reply, has 2 voices.

Last updated by Bigul 3 weeks, 4 days ago.

Assigned support staff: Bigul.

Author Posts
September 18, 2019 at 8:43 pm #4599861

kristinaK-7

Hi! I've used WPML elsewhere before. On other sites, I activated it and it magically pulled all of the strings in, and I just needed to provide the translations, smooth as butter.

When we activated it in _this_ site, it pulled in a few strings, but ignored 90%. Some of the strings it pulled were concatenated... it actually took multiple individual strings and put them together as one item, so that even if we gave a translation, there's no way for it to appear correctly in the front end. For instance, for the element in the attached image, WPML pulled in the string "Plan to feel richer", instead of "Plan to" and "feel richer".

Our theme for this website allows you to add "image and text" sections in the page editor. Within that section you provide the image, Title, Mini Title, Description (all rich text area) and a link. We would want to be able to modify each of those for each of the languages we need to host our site in.

If we can get WPML to pull the strings properly for the home page, I'm confident we can get the rest working, so no need to look beyond the home page for now.

I installed the WPML Tools plugin (https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/) but frankly couldn't figure out how to get useful information from using it. It didn't seem to show me a translated version of each page, as was advertised.

The website we're talking about is planswell.staging.wpengine.com.

Thanks for your help!

September 20, 2019 at 7:10 am #4610109

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Which option you have selected for *How to translate strings in themes and plugins* in WPML>>Theme and plugins localization>>Localization options?

In some cases, it is possible that those strings have been recognized but not associated yet to the String Translation panel for the translation. Please try the following steps after a backup and let me know your feedback.

1) Please increase *WP Memory Limit* to *256*(the minimum required memory limit for WPML is *128*). Please check the following links for more details

https://wpml.org/home/minimum-requirements/

https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

2) Please increase the *MaxInputVars* of PHP settings to *5000* or more. Please check the following article for more details or contact your system admin/hosting provider for this purpose.

hidden link

3) Visit WPML>>String Translation
4) Click on the blue link at the bottom of the page: "Translate texts in admin screens »"
5) Look for an option similar to "theme_mod_Planswell", or something like that. Here you should find all the strings associated with your theme options.
6) Check the checkbox for your strings of interest.
7) Click on the button "Apply"(at the bottom of the page)
8) Now, all your selected strings should appear in the String Translation panel and you can translate those strings

Please check the following documentation for more details.

https://wpml.org/documentation/getting-started-guide/translating-theme-options/

https://wpml.org/documentation/getting-started-guide/string-translation/#admin_texts

--
Thanks!

Bigul

The topic ‘[Closed] WPML is not pulling in 90% of the strings in our website.’ is closed to new replies.