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.

Sun Mon Tue Wed Thu Fri Sat
- 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 -
- 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 9 replies, has 2 voices.

Last updated by Nicolas V. 1 year, 8 months ago.

Assisted by: Nicolas V..

Author Posts
October 31, 2023 at 5:11 pm #14702663

sergeiP-4

Can you please tell me what I need to do next to translate this?

translate.PNG
October 31, 2023 at 8:50 pm #14703887

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Welcome to the WPML support forum. From the screenshot sent it looks like a string "package" (group of strings).

- You should be able to translate them like any other job translation in "WPML > Translations".
- Make sue that in "WPML > Translation Management > Translators" you added the translator profile with the correct language pairing.
Ref: https://wpml.org/documentation/translating-your-contents/how-to-set-up-local-translators-and-language-pairs/

October 31, 2023 at 9:33 pm #14703955

sergeiP-4

I translated, now Status: Completed, but it didn't translate on the site.

cookie.PNG
translatee.PNG
November 1, 2023 at 12:19 pm #14707337

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Are you sure that those strings were included in this package. It looks to me that there are coming from a "cookie" plugin.
I tried to visit your site to understand better but it's under construction. Could you please provide me with your debug information? Please follow these initial debugging steps:
https://wpml.org/faq/provide-debug-information-faster-support/
In short:
- Go to "WPML > Support > Debug Information" (link)
- Copy the Debug Information from there.
- Find the private field I activated and paste that information.

November 1, 2023 at 1:01 pm #14707527

sergeiP-4

Hello,

I've translated everything everywhere.

Capturefff.PNG
November 2, 2023 at 11:24 am #14715829

sergeiP-4

Please help

November 2, 2023 at 9:29 pm #14721317

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Thanks for providing your debug info.

1. Let's start by meeting WPML's minimum requirements because it could impact your translations. I've noticed your website has a low PHP memory allocation (40M). The minimum requirement for WPML is 128M but we recommend 256M:

- Access your server via FTP and open wp-config.php (in your WordPress root directory).
- Insert those lines just before /* That's all, stop editing! Happy blogging. */

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

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

2. Quick question, can you edit those strings in an option page from the cookie plugin? Because it that case they might be considered as "Strings in admin screens"
- Go to "WPML > String Translation", scroll down and at the bottom left click on "Translate texts in admin screens"
- Search for your strings, select them (checkbox at the left) and click on "Add to String Translation"
- Go back to "WPML > String Translation" to translate them
Ref: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings

3. If the issue persist after that and to save time, could you please provide me with a temporary admin access – so I can further investigate.

I will activate a private field for your next answer where you can provide that information safely (this field is only visible by you and the support team). Don't share your own admin account, create a new one that you will delete when we finish troubleshooting.

IMPORTANT: Before we proceed, please backup your site and database.

November 3, 2023 at 12:36 pm #14725741

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

I checked the code from "Cookie Notice & Compliance for GDPR / CCPA" and found that they are using a function that has been removed in WPML 3.2.3 (which has released back in 2015!).

- Here is the announcement: https://wpml.org/errata/icl_translate-and-icl_t-does-not-register-strings-anymore/
- You will find that the plugin is using 'icl_t' in cookie-notice/includes/frontend.php

In this case, we suggest that you contact the plugin author to report this issue and ask them to:
1. Update their code using this tutorial: https://wpml.org/documentation/support/translation-for-texts-by-other-plugins-and-themes/
2. Join our Go Global compatibility program. Our developers will be happy to assist them in making their plugin WPML-compatible and getting them added to our compatibility list.
https://wpml.org/documentation/support/go-global-program/

An alternative would be to look at compatible Cookie consent plugins here: https://wpml.org/plugin-functionality/cookies/

November 3, 2023 at 12:59 pm #14725827

sergeiP-4

I e-mailed them, and we'll see what they say. Thank you!

November 3, 2023 at 2:30 pm #14726575

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hi,

Perfect. I'll let this ticket waiting for your feedback. Please keep me posted.

Have a great weekend,
Nico

The topic ‘[Closed] Hi, how to translate this strings?’ is closed to new replies.