Translating the javascript Error Messages and tips

Joomla 1.6+ comes with MooTools 1.3 which has its own validation script, which Contact Enhanced uses. The translation for the error messages (for some languages, see language codes) are in the MooTools javascript files:

[Path to Joomla 1.6+]/media/system/js/mootools-core.js
[Path to Joomla 1.6+]/media/system/js/mootools-more.js

Current languages in MooTools language files:

ar-AA, ca-CA, ca-ES, cs-CZ, da-DK, de-DE, en-US, en-UK, en-AU, es-AR, es-ES, et-EE, fa-IR, fi-FI, fr-FR, he-IL, hu-HU, it-IT, ja-JP, nl-NL, nl-BE, no-NO, pl-PL, pt-BR, pt-PT, ru-RU, si-SI, sv-SE, tr-TR, uk-UA, zh-CN, zh-TW

If it is not translated into your language, open this file:

[Path to Joomla 1.6+]/components/com_contactenhanced/assets/js/mootools-languages/locale.en-US.js

and copy to:

[Path to Joomla 1.6+]/components/com_contactenhanced/assets/js/mootools-languages/locale.language-CODE.js where language-CODE follows this convention [language-code]-[COUNTRY-CODE]. (see a list with the most common COUNTRY-CODE)

Then Translate all content of the file  inside single quotes, except for the strings 'Date', 'Number' and 'FormValidator'.



Connect with us

We're on Social Networks. Follow us & get in touch.
You are here: Start page