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
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

Tagged: 

This topic contains 4 replies, has 1 voice.

Last updated by Osama Mersal 2 days, 2 hours ago.

Assisted by: Osama Mersal.

Author Posts
January 13, 2025 at 6:13 am #16586681

innovexA

Background of the issue:
I am trying to translate some strings on my site hidden link. I am using WPML and following the official WPML docs.

Symptoms:
Some strings revert back to the default language after turning off the 'Look for strings while pages are rendered' option.

Questions:
How to solve this?

January 13, 2025 at 6:14 am #16586684

innovexA

hidden link
hidden link

here are some strings examples

January 13, 2025 at 8:25 am #16586864

innovexA

Hello any update?

January 13, 2025 at 10:41 am #16587712

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.

Please share an example of the problematic strings and let me know how they are created in the default language.

Best regards,
Osama

January 14, 2025 at 6:09 am #16591221

innovexA

hidden link
There is "Showing All Results"
IN side cart it shows "Shopping Bag"
In single product page it shows "Explore More ..."
hidden link

January 14, 2025 at 9:53 am #16592132

Osama Mersal
Supporter

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

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

Hi,

Thanks for your reply. 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.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why 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

January 17, 2025 at 2:20 pm #16606546

Osama Mersal
Supporter

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

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

Hi,

Thanks for the access details. I checked the issue and tried to register these strings using the following XML, but it didn't fix the issue.

<wpml-config>
  <admin-texts>
    <key name="theme_mods_rey-child">
      <key name="product_info_content"/>
      <key name="loop_product_count__text"/>
      <key name="single_product_page_related_title"/>
      <key name="header_cart__btn_cart__text"/>
      <key name="header_cart__title"/>
    </key>
  </admin-texts>
</wpml-config>

Please log in to this hidden link">sandbox site and install the latest version of your theme. After that, please add the same strings to replicate the issue.

Please let me know if the issue is replicable so I can check it and consult our compatibility team.

Best regards,
Osama

January 21, 2025 at 8:34 am #16616778

innovexA

I installed the official version but I cannot register on your domain I buy from themeforest I have only one License (Purchase cod) they are not allow any development domain separately. Please try to fix on my website.

January 21, 2025 at 9:11 am #16617108

Osama Mersal
Supporter

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

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

Hi,

1) I can't see the "Showing All Results" string on the shop page. (hidden link)

2) The shopping bag string is translated correctly after the update.

Best regards,
Osama

January 21, 2025 at 9:12 am #16617125

innovexA

I removed Showing All Results The main issue is when I changed the default text from theme setting it is not translating

January 21, 2025 at 9:14 am #16617129

Osama Mersal
Supporter

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

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

Hi,

Please let me know which string you changed so I can check it.

Best regards,
Osama

January 21, 2025 at 9:22 am #16617224

innovexA

There are the issues on cart page in arabic add something in cart to open the cart page without error.
hidden link

These are the default string I didn't change it but still it is not translating properly it has the same issue only.
This theme I used many website never faces this issue I think issue in wpml because first I installed mistakenly beta version of wpml then I installed manually the official version I think because of this that issue happened.

Screenshot 2025-01-21 141931.png
January 21, 2025 at 10:12 am #16617564

Osama Mersal
Supporter

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

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

Hi,

Thanks for your update. Please check if the strings work correctly. (hidden link)

Best regards,
Osama

January 21, 2025 at 11:42 am #16618152

innovexA

Yeah it is translated but how you do it and what we can do for other strings like explore more I changed to default one "Related Product" It translated I will try to agree with this content to client if she agrees so it will okay but if she don't we need to solve the problem of Explore more and other old strings.

January 21, 2025 at 11:45 am #16618159

Osama Mersal
Supporter

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

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

Hi,

The issue should be fixed for all strings; please translate them using String Translation and check if they work correctly.

I re-generated the MO files, which fixed the issue.

Best regards,
Osama