Skip Navigation

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

Problem:
The client is unable to find where to translate:
1) 'Message before checkout' which was added through WooCommerce settings.
2) Free delivery progress bar texts which were added through the BeTheme's translation settings.

Solution:
We recommend the following steps:
1. Increase the WP Memory Limit to at least 128MB, as this is the minimum requirement for WPML. You can do this by adding the following code to the top of your wp-config.php file:

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

2. Navigate to WPML >> String Translation page.
3. Click on the Translate texts in admin screens » link at the bottom of the page.
4. Search for the required string.
5. Select the string.
6. Click on the Add to String Translation button.
7. Return to the String Translation page by clicking on "« Return to String Translation".
8. Add the translation from the WPML >> String Translation page.

For more details on translating texts in admin screens, please refer to our documentation: Translating texts in admin screens documentation.

If the solution provided here is not relevant to your case, either because it's outdated or not applicable, we encourage you to open a new support ticket. We also highly recommend checking related known issues at WPML known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum: WPML support forum.

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

Last updated by Noman 1 year, 3 months ago.

Assisted by: Noman.

Author Posts
March 5, 2024 at 1:15 pm #15374668

gyorgyS-3

I cant find where i can translate

1) 'message before checkout' the original version of which was added through - Woocommerce settings - Checkout - 'Add message before checkout'.

2) Free delivery progress bar texts which were added through Betheme - Translate - Shop - Free delivery progress bar

March 5, 2024 at 2:00 pm #15374864

Noman
WPML Supporter since 06/2016

Languages: English (English )

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

Hi,

Thank you for contacting WPML Support. Could you please try to follow the below steps and see if this resolves your issue:

1. The current WP Memory Limit on your site 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 WPML >> String Translation page.
3. Scroll down and click on the Translate texts in admin screens » link at the bottom of the page.
4. Search for the your required string.
5. Select the string.
6. Click on the Add to String Translation button.
7. Then click on "« Return to String Translation" link.
8. Add the translation from WPML >> String Translation page.

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

Please let me know results,
Thank you

March 5, 2024 at 2:52 pm #15375168

gyorgyS-3

Dear Noman, Thank you! I have succesfully translated those strings.

Regarding the memory, do I add this code somewhere in the WordPress or it is on the server?

March 5, 2024 at 3:25 pm #15375253

Noman
WPML Supporter since 06/2016

Languages: English (English )

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

Glad to hear your issue is solved 🙂

The wp-config.php file is usually located in the root folder of your website with other folders like /wp-content/. You can access that file using cPanel, FTP, or by installing the File Manager plugin.

1. If you install the File Manager plugin: https://wordpress.org/plugins/wp-file-manager/ you need to follow the below steps:

- Go to WP Dashboard >> WP File Manager.

- Edit the wp-config.php file as you can see in the attached screenshot.

- Add that code before the below line:

/* That's all, stop editing! Happy publishing. */

As you can see in the attached screenshot.

- Save the file.

2. If you want to edit that file using cPanel, please follow the below doc:
hidden link

3. For FTP, you may use FileZilla or similar software and go to public_html directory and download the wp-config.php file and edit it with notepad++ or similar editor and upload it again after adding that code.

Here are docs for more details:
https://wordpress.org/documentation/article/editing-wp-config-php/
hidden link

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

Thank you

File Manager - wp-config file.png
wp memory limit code.png