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

Last updated by Celil Çağlar ÖZLÜ 4 years, 10 months ago.

Assigned support staff: David.

Author Posts
December 6, 2016 at 9:00 pm #1153114

stephaneS-10

I am trying to: translate string of tawk.to plugin from English to Portuguese

URL of (my) website where problem appears: all pages as this plugin is an online chat.
hidden link

I expected to see: a string translation of English to Portuguese

See attached file for specific strings of tawk.to

Instead, I got: no strings found after search and also I have scanned the plugin.

Screen Shot 2016-12-06 at 21.55.21.png
December 7, 2016 at 8:14 am #1153363

stephaneS-10

This is urgent. My website is live with thousands of customers.

Please advise.

December 7, 2016 at 12:37 pm #1153773

David
Supporter

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

Timezone: Europe/Madrid (GMT+02:00)

For WPML to be able to translate strings, these should be wrapped in gettext functions:

https://codex.wordpress.org/I18n_for_WordPress_Developers#Translatable_strings

However, it looks like your plugin is loading the content from a remote server so we dont have a way to hook onto them to translate.

You will need to create 2 widgets at tawk.to, one for each language, and load the correct one according to the current language.

August 27, 2020 at 3:21 pm #6887729

Celil Çağlar ÖZLÜ

hello. I created 2 widget. One of it in English and the other one is in Turkish. I have 2 widget code. How can I load the correct code with WPML when change the language on my web page? hidden link