Polylang is a widely used multilingual plugin that helps us translate our website’s pages, posts, plugins, and themes into different languages. Using Polylang, we can also translate the Click to Chat plugin settings for each language.
Translating Click to Chat Settings
The following settings from the Click to Chat plugin can be translated for each language:
- WhatsApp Number (make sure to include the country code while translating)
- Prefilled Message
- Call to Action
- Group ID
Steps to Translate Click to Chat Settings
Navigate to Languages → String Translations in our WordPress dashboard.
Locate and select the “Click to Chat For WhatsApp” domain.
Find the string we want to translate (e.g., WhatsApp Number, Prefilled Message, Call to Action, Group ID).
Add the translated version for the selected string.
Important Notes
- If we do not find the Click to Chat for WhatsApp strings in the String Translations section:
- Save or update the Click to Chat plugin settings.
- Refresh the String Translations page.
- Plugin Settings (User Input): Includes configuration options for the Click to Chat for WhatsApp plugin, such as WhatsApp Number, Call to Action, and Prefilled Message.
- Admin-Side Text Strings: All admin interface strings should use the text domain
click-to-chat-for-WhatsApp
for localization and translation purposes.