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

Last updated by Osama Mersal 1 year, 5 months ago.

Assisted by: Osama Mersal.

Author Posts
September 2, 2023 at 7:04 pm #14330729

bilalB-5

Hello team

I hope you are doing well.

I tried to translate the widget that I attached below, but nothing happened knowing it had been translated at the string translation.

hidden link

Best regards

Screenshot 2023-09-02 200239.png
Screenshot 2023-09-02 200047.png
September 3, 2023 at 10:38 am #14331457

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) Please try the following steps:

1- Go to WPML-> Theme and plugins localization, select your theme/plugin, and scan
2- Go to WPML-> String Translation
3- Scroll down and click on the "Translate texts in admin screens »" link
4- Search for the needed strings
5- Select the strings
6- Click on the "Add to String Translation" button
7- Then click on the "« Return to String Translation" link
8- Translate the strings, clear the cache, and check the front end

Kindly check our guide to know more about translating texts in the admin texts screen. (https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/)

2) It's not related 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

September 10, 2023 at 1:18 pm #14371313

bilalB-5

Hello Osama

I hope you are doing well.

The string has been translated, but it does not show up in Arabic.

Please, could you take a close look through the dashboard?

Best regards

September 10, 2023 at 1:39 pm #14371371

Osama Mersal
Supporter

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

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

Hi,

Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed.

Your next answer will be private, which means only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

September 13, 2023 at 4:29 pm #14391679

Osama Mersal
Supporter

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

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

Hi,

Thanks for the access details. I checked the issue and was able to fix it by adding the following code to the WPML-> Settings-> Custom XML tab.

<wpml-config>
  <admin-texts>
    <key name="widget_custom_html">
      <key name="*">
        <key name="title"/>
        <key name="content"/>
      </key>
    </key>
  </admin-texts>
</wpml-config>

Please check our guide about custom XML configurations. (https://wpml.org/documentation/support/language-configuration-files/)

Best regards,
Osama

September 13, 2023 at 9:26 pm #14392627

bilalB-5

Hello

Thank you so much for the help.

I can see it works well.

Best regards

September 14, 2023 at 6:47 am #14393541

Osama Mersal
Supporter

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

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

Hi,

It's great to hear that the issue is fixed 🙂 . Please don't hesitate to open a new ticket if you face any other issues. We are always happy to help you.

Have a great day!

Best regards,
Osama