Skip Navigation

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

Problem:
The client was unable to translate specific elements on their website using WPML, including the 'Aplica acum' button in the HP Header Menu and four categories in the Footer Menu ('Companie', 'Pasager', 'Termeni', 'Suport'). Despite translations being available, changes were not reflecting when switching languages.
Solution:
We first verified that the button on the menu was showing as translated. For the footer section, we requested temporary admin access to the client's site to investigate further. After gaining access, we were able to translate the string 'Pasager' and directed the client to our documentation on translating admin text strings, which can be found here: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings
We also advised clearing the website's cache (server-side included) to ensure updates were visible. The issue with the 'Apply now' button was resolved by clearing the browser's cache, as it was already translated but locked, indicating no further action was needed from the client.
Lastly, we edited the headers on the widget page to ensure the 'Support' title in the Romanian version was correctly displayed.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/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 at https://wpml.org/forums/forum/english-support/.

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.

No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Tagged: 

This topic contains 24 replies, has 2 voices.

Last updated by Marsel Nikolli 5 months, 2 weeks ago.

Assisted by: Marsel Nikolli.

Author Posts
June 4, 2024 at 3:03 pm #15702654

Marsel Nikolli

I've checked the WPML -> Support page and I've noticed that the WP Memory limit is set to 40M, which needs to be increased, WordPress uses 40 MB as default and 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 line: /* That's all, stop editing! Happy publishing. */

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

* Note: Please make sure you have a full backup of your website before making any updates/changes to your website.

After that, check and let me know if the issue persists.

June 4, 2024 at 3:09 pm #15702672

sebastianC-22

Hi,

Regarding the memory usage, 128 MB.
For the suggested WordPress memory limit, I checked the hidden link PHP configuration and identified that the website is already running on a Memory limit value of 768 MB.

Here you can verify the information as well.

hidden link

Thank you

June 4, 2024 at 5:19 pm #15703753

Marsel Nikolli

I've checked the link you shared and it seems that the PHP Memory Limit is set correctly but you need to increase the WordPress Memory Limit.

Please check the information below regarding the difference between the PHP Memory Limit and the WordPress Memory Limit:

WordPress Memory Limit: It is the amount of memory that is allocated to WordPress only. This memory limit can be changed by adding the following code to the wp-config.php file: define( 'WP_MEMORY_LIMIT', '256M' ); This code will set the memory limit to 256 megabytes.

PHP Memory Limit: It is the amount of memory that is allocated to PHP scripts that are used to run WordPress. This limit can be changed by adding the following code to the .htaccess file: php_value memory_limit 256M

* Please proceed with the increase as instructed previously, and let me know.

Thanks,
Marsel

June 5, 2024 at 9:07 am #15705781

sebastianC-22

Hi,

I added the code i n wp-config.php.
The probel still persist with the companie transalation. When I try to transalate it the follofing error message appears:You have selected strings belonging to a package. Please select all strings from the affected package or unselect these strings.
I also attache it.

Thanks.

errorcompanie.PNG
June 5, 2024 at 9:18 am #15705935

sebastianC-22

Hi,

Please send me also for PHP Memory Limit exact instructions for the code to be inserted, like you send to me before for wp-config.php: Example:
You can increase it by adding the following code in your wp-config.php file right before the line: /* That's all, stop editing! Happy publishing. */

1. /* Memory Limit */
2. define('WP_MEMORY_LIMIT', '256M');
3. define( 'WP_MAX_MEMORY_LIMIT', '256M');

Thanks

June 5, 2024 at 11:08 am #15706287

Marsel Nikolli

Hi,

The PHP memory limit is set correctly (it is set to 768M).

Can you please tell me how you are adding the footer section to the website (it that a page builder you are using or any plugin as I wasn't able to understand it)?

June 5, 2024 at 11:16 am #15706294

sebastianC-22

Hi,

Sure from footer widgets.
I attache you an image.

Thank you

footer widget.PNG
June 5, 2024 at 1:55 pm #15707234

Marsel Nikolli

Hi,

I've edited the headers on the widget page, but the "Support" title in the Romanian version might require a review.

Please check that it's written correctly from the WP-Admin -> Appearance -> Widgets page.

The translations should be showing correctly afterward.

Let me know if you need further assistance.

June 5, 2024 at 2:43 pm #15707619
sebastianC-22

Hi,

You resolved the issue. Thank you.
Now I have an error with the Off-Canvas Menu(for mobile version.) The "Aplica acum" button will not change when I change the language and not redirect to the translated version(the button has a link inserted). I attach you Images.

Best Regards

New threads created by Marsel Nikolli and linked to this one are listed below:

https://wpml.org/forums/topic/split-aplica-acum-button-will-not-change-when-i-change-the-language-on-mobile/

corect translated in Strings.PNG
aplica acum off canvas menu mobile error.PNG
June 5, 2024 at 3:04 pm #15707786

Marsel Nikolli

Per our Support Policy, we can handle only one issue per ticket.

Continuing with one issue per ticket helps supporters focus on one issue at once and enables other users to find solutions to their questions faster.

I created a new ticket for you regarding the new question here:
https://wpml.org/forums/topic/split-aplica-acum-button-will-not-change-when-i-change-the-language-on-mobile/

Please mark this current ticket as resolved.

Thank you.