Skip to content

Language & transliteration

Vuukle ships with built-in translations for major languages and lets you override any string per-language using customText.

Set the widget language

var VUUKLE_CONFIG = {
language: 'en', // 'en', 'es', 'fr', 'de', 'hi', 'ar', 'pt', ...
};

If we don’t ship the language you need, set language: 'en' and override every string via customText (below).

Custom translations

Every visible string in the comment widget can be overridden. Pass an object of key → translation pairs:

var VUUKLE_CONFIG = {
comments: {
customText: {
'Add Comment': 'Add your thoughts',
'Show more comments': 'Load more',
'Replies': 'Discussion',
'Most recent': 'Newest first',
},
},
};

Same shape applies under emotes.customText and powerbar.customText.

Transliteration (Indic, Arabic, Cyrillic…)

Enable in-editor transliteration so users can type phonetically and see their script render:

var VUUKLE_CONFIG = {
comments: {
transliteration: {
language: 'hi', // 'hi' Hindi, 'mr' Marathi, 'ta' Tamil, etc.
enabledByDefault: true,
},
},
};

When enabled, a toggle appears in the editor toolbar so users can switch back to English at any time.

Was this page helpful?
Help us improve — drop a note or open the dashboard.