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.

Tagged: 

This topic contains 15 replies, has 2 voices.

Last updated by Christian 1 year, 9 months ago.

Assisted by: Osama Mersal.

Author Posts
February 20, 2023 at 9:01 pm #13073875

Christian

Tell us what you are trying to do?
I've changed the "out of stock" label into "sold" with the "Say What plugin".
I tried to translate this label into Dutch via string translation (woocommerce domain and aventa domain), but the "out of stock/sold" label doesn't translate in the frontend.

What is the link to your site?
hidden link

out-of-stock-label.jpg
February 21, 2023 at 7:50 am #13075899

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 try the following steps to search for the "Sold" string.

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 learn more about translating texts in the admin text screen. (https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/)

Best regards,
Osama

February 21, 2023 at 10:01 am #13077333

Christian

Hi,

The "Translate texts in admin screens" page is empty.

Screenshot 2023-02-21 at 11.00.03.png
February 21, 2023 at 10:04 am #13077453

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

February 21, 2023 at 11:25 am #13078395

Osama Mersal
Supporter

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

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

Hi,

Thanks for the access details. It seems like a compatibility issue, so please login to this sandbox site and upload the "Say What?" plugin. (hidden link)

After that, please try to replicate the issue by creating a new string for the "Out Of Stock" string. If the issue is replicable, please let me know how to reproduce it to consult our compatibility team.

Best regards,
Osama

February 21, 2023 at 11:33 am #13078487

Christian

I followed instructions, but "sold" can't still be found in admin text strings.

Screenshot 2023-02-21 at 12.33.13.png
February 21, 2023 at 11:45 am #13078561

Osama Mersal
Supporter

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

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

Hi,

Thanks for replicating the issue. I'll consult our 2nd tier support team and update you with our findings.

Best regards,
Osama

February 21, 2023 at 12:42 pm #13079063

Osama Mersal
Supporter

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

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

Hi,

Could you please contact the plugin support team and consult them if the replacement string is translate-friendly? Please let us know their findings and if we can help in the case.

Also, It would be great if you could contact the authors and urge them to join our Go Global Program.
You can find details about it here. (https://wpml.org/documentation/theme-compatibility/go-global-program/)

Best regards,
Osama

February 21, 2023 at 12:50 pm #13079123

Christian

Hi,

I've contacted the author via his enquiry form:
hidden link
I'll let you know what he says.

February 21, 2023 at 12:51 pm #13079135

Osama Mersal
Supporter

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

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

Hi,

Thanks for your cooperation and understanding. Please let us know what they say.

Thanks,
Osama

February 21, 2023 at 1:16 pm #13079315

Christian

Hi, they replied the plugin is already translatable.

February 21, 2023 at 1:17 pm #13079319

Osama Mersal
Supporter

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

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

Hi,

So how they implemented the replacement text to be translatable?

Thanks,
Osama

February 21, 2023 at 1:19 pm #13079357

Christian

I'll ask this specific question in order to be 100% certain.

February 21, 2023 at 1:21 pm #13079373

Christian

They just said the replacement text is not translatable.

February 21, 2023 at 1:23 pm #13079377

Osama Mersal
Supporter

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

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

Hi,

Thanks for your update. If the replacement text is not implemented to be translatable, WPML won't be able to see it in order to translate it.

Sorry for the inconvenience

Best regards,
Osama