Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
How to translate the "Read more" button on blog page?

Solution:
Please follow the below steps:

1. Increase the WP memory to fulfill minimum requirements of WPML.

2. Go to the WPML >> String Translation page and in the Auto register strings for translation section, enable the ‘Look for strings while pages are rendered’ option.

3. Re-visit the page on the front end where the string appears.

4. Re-visit the WPML >> String Translation page and search for that string.

5. Translate the string.

6. After translating the string, uncheck the auto-registration option.

Relevant Documentation:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by nunoF-6 1 year, 7 months ago.

Assisted by: Noman.

Author Posts
May 16, 2023 at 3:20 pm #13657625

nunoF-6

On the page hidden link there is a button "Read more" in each news item, which I cannot translate.
I used WPML's string translation and translated every "Read more" I found, but that translation doesn't show up on the button.

May 16, 2023 at 5:34 pm #13658875

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. Could you please follow the below steps and let me know how it goes:

1. I have noticed that your website’s WP Memory Limit is 40MB. The WP memory limit needs to be increased, it's different from PHP memory. PHP memory is fine but WordPress uses 40Mb as default in your site. The minimum requirements for WPML are 128Mb: https://wpml.org/home/minimum-requirements/

Please add this to the top of wp-config.php to increase WP memory:

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

2. Go to the WPML >> String Translation page and in the Auto register strings for translation section, enable the ‘Look for strings while pages are rendered’ option.

3. Re-visit the page on the front end where the string appears.

4. Re-visit the WPML >> String Translation page and search for that string.

5. Translate the string.

6. After translating the string, uncheck the auto-registration option.

Here is a doc for more details:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Please let me know if this resolves your issue or if you need further assistance with this issue.

Thank you