Skip Navigation

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 4 replies, has 2 voices.

Last updated by patrickA-12 1 year, 7 months ago.

Assisted by: Osama Mersal.

Author Posts
June 1, 2023 at 3:10 pm #13755873

patrickA-12

translated strings only showing when "look for strings while pages are rendered" is enabled.

hi there,

iam trying to translate some strings. to find them on my pages i used the option "look for strings while pages are rendered". found it, translated them. as long as the option is active, the strings are shown correctly, but as soon as the option is inactive, the strings of origin language are shown.

whats the problem?

PS: to view the page:

login: pp
password: pp

June 2, 2023 at 2:42 pm #13762181

patrickA-12

PS: for some reason, when i translate the strings automatically, its working ...

June 4, 2023 at 9:34 am #13765547

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) First of all, sorry for the late reply due to a higher workload. Please let me know the answer to the following questions.

1- How do you translate the strings automatically?
2- Is the languages folder set to be writable?
3- Does this issue happen to strings from the exact plugin/theme or randomly?

2) It's unrelated to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

Best regards,
Osama

June 6, 2023 at 8:15 am #13775811

patrickA-12

hi Osama,

thanks for your reply. i have crawled my templates for strings und used the strings translation management to translate them manually. since this did not worked properly (i needed to have "look for strings while pages are rendered" activated in order to see them in front-end) i tried the automatic translation. now it is working (for some reason). iam still not sure what was (or still is) the problem but it seems to work now.

guess we can see it as solved for the moment.