Skip Navigation

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

Problem:
The client is unable to translate the text 'chiama o whatsapp' displayed by the Chaty plugin using WPML.
Solution:
First, navigate to WPML > String Translation and click on the link 'Translate texts in admin screens' at the bottom. Search for 'WhatApp' to find the string

[cht_social_whatsapp]title

. Add this string to String Translation and attempt to translate it. However, note that the translation might not appear on the frontend as the plugin uses a different logic for displaying strings on hover.

If you are trying to translate a Call to Action Text for the widget, search for the string

cht_cta

. Adding and translating this string should work as expected. Remember, these strings will be registered in the site's default language. If the source language differs from the literal string text, you need to change the source language for the strings inside String Translation. You can learn how to do this here: How to change the source language of strings.

If these steps do not resolve your issue, it may be due to the plugin not supporting frontend translation for certain strings. We recommend contacting the plugin author for further assistance on this matter.

Please note that this solution might be outdated or not applicable to your specific case. We 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. If the issue persists, please open a new support ticket.

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

Last updated by Andreas W. 11 months, 2 weeks ago.

Assisted by: Andreas W..

Author Posts
June 15, 2024 at 9:10 am #15741554

marcoM-189

Background of the issue:
I have a Chaty plugin that shows an icon on the website with a selector for call or WhatsApp chat. This icon shows the text 'chiama o whatsapp' in Italian (call or WhatsApp). I do not know how to translate this text.

Symptoms:
I am unable to translate the text 'chiama o whatsapp' displayed by the Chaty plugin.

Questions:
How can I translate the text 'chiama o whatsapp' in the Chaty plugin using WPML?

June 15, 2024 at 9:26 am #15741557

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hello,

It appears that we were disconnected on chat.

To translate strings coming from plugins you use WPML > String Translation.

Did you already try to use the text search field at WPML > String Translation to locate the string?

Best regards
Andreas

June 15, 2024 at 10:55 am #15741664

marcoM-189

Yes I tried used string translation search but no results

June 15, 2024 at 6:16 pm #15741990

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hello,

I ran a test using the plugin.

Go to WPML > String Translation and at the bottom click the link "Translate texts in admin screens".

On the following screen search for "WhatApp" and should find the string:

[cht_social_whatsapp]title

You can add this string to String Translation and translate it, but the translation will not show up on Frontend, as the plugin uses a different logic to display the string only when the mouse is hovered over the widget.

Do I Understand right, that you try to translate the string "WhatsApp"? If so, I would like to encourage you to contact the plugin author about this issue, as it does not look as if the author considered this string to be translatable on Frontend.

If you use a Call to Action Text for the widget, search for the string and you will find a string called:

cht_cta

Add the string to String Translation and translate it. This will work as expected.

Take note that those strings will be registered in the site's default language. If the source language is different than the literal string text, you need to change the source language for the strings inside String Translation:

https://wpml.org/documentation/getting-started-guide/string-translation/how-to-change-the-source-language-of-strings/

Best regards
Andreas

June 16, 2024 at 3:32 pm #15742707

marcoM-189

i could not fix all the problem with wpml..so i changed the string to be understandable to all......instead of chiama o whtsapp i used tel/whatsapp....and i solved the problem"

thank you