Contact Enhanced Documentation

If you are translating for Joomla 1.6 or newer we encourage you to start using Transifex.net. Please read this article:

Translate Contact Enhanced Using Transifex

 

Contact Enhanced is already translated into some languages, if it is not translated into your language, you can translate it yourself and it is not hard to do. There are 2 language files to create to translate the component, one for the frontend, one for the backend.

These files have to be named following the convention (see a list with the most common COUNTRY-CODE):

[language-code]-[COUNTRY-CODE].com_contact_enhanced.ini

For example: en-GB.com_contact_enhanced.ini for english, pt-BR.com_contact_enhanced.ini for Brazilian Portuguese.

They have to be placed in the folder corresponding to the language and the frontend/admin part, for example:

For english

/administrator/language/en-GB/en-GB.com_contact_enhanced.ini
/language/en-GB/en-GB.com_contact_enhanced.ini
/administrator/components/com_contactenhanced/language/en-GB/en-GB.com_contactenhanced.ini
/administrator/components/com_contactenhanced/language/en-GB/en-GB.com_contactenhanced.menu.ini
/administrator/components/com_contactenhanced/language/en-GB/en-GB.com_contactenhanced.sys.ini
/components/com_contactenhanced/language/en-GB/en-GB.com_contactenhanced.ini

 

For Brazilian Portuguese

/language/pt-BR/pt-BR.com_contactenhanced.ini

Inside these files, you add translations following the convention:

 ALIAS=translation
 ALIAS="Translation"

ALIAS are the strings that are used in JTEXT::_ function in the component php files. For example, We use JTEXT::_('Team') to write 'Team'. To translate in Brazilian Portuguese in frontend, I would have to write this in the /language/pt-BR/pt-BR.com_contactenhanced.ini file:

 TEAM=equipe
 TEAM="equipe"

Note that it is important that ALIAS is capitalize.

Be sure to save the file to UTF-8 format.

PLEASE NOTE that you will also have to translate the iCaptcha plugin if you intend to use it. Language file location:

/administrator/language/en-GB/en-GB.plg_content_captcha.ini
/plugins/system/icapthca/language/en-GB/en-GB.plg_system_icaptcha.ini

 

Most Common Country Code:

 ar-DZ = Arabic (العربية)
 be-BY = Belarusian (BY)
 bg-BG = Български (България)
 bn-IN = Bengali (India)
 bs-BA = Bosnian (Bosnia and Herzegovina)
 ca-ES = Catalan
 cs-CZ = Česky (Czech)
 da-DK = Danish (DK)
 de-AT = German (AT)
 de-CH = German (CH)
 de-DE = German (Germany)
 el-GR = Greek
 en-GB = English (United Kingdom)
 en-US = English (United States)
 eo-XX = Esperanto
 es-ES = Spanish (Español internacional)
 eu-ES = Basque (Euskara estandarra)
 fa-IR = Persian(پارسی)
 fi-FI = Finnish (Suomi)
 fr-FR = French (Fr)
 he-IL = Hebrew (Israel)
 hr-HR = Croatian
 hu-HU = Hungarian (formal)
 it-IT = Italian (Italy)
 ja-JP = Japanese (JP)
 ko-KR = Korean (Republic of Korea)
 lo-LA = Lao (ພາສາລາວ)
 lt-LT = Lithuanian
 lv-LV = Latvian
 mk-MK = Македонски (Macedonia)
 nb-NO = Norsk bokmål(Norway)
 nl-NL = Nederlands (NL-BE)
 pl-PL = Polish (Poland)
 pt-BR = Português(Brasil)
 pt-PT = Português(pt-PT)
 ro-RO = Română (România)
 ru-RU = Russian(RU)
 sd-PK = Sindhi(سنڌي)
 si-LK = Sinhala (Sri Lanka)
 sk-SK = Slovak (Slovak Republic)
 sq-AL = Shqip (Shqipni)
 sr-ME = Montenegrin
 sr-RS = Serbian
 sv-SE = Svenska (Sverige)
 sy-IQ = Syriac (sy-IQ)
 ta-LK = Tamil (Sri Lanka)
 th-TH = Thai(ภาษาไทย)
 tr-TR = Türkçe (Türkiye)
 uk-UA = Ukrainian (Ukraine)
 vi-VN = Tiếng Việt (Vietnamese)
 zh-CN = Simplified Chinese
 zh-TW = Traditional Chinese (Taiwan)
Recommend to a friend

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback