How to translate or modify field labels and error messages?

Basically, There are 2 language files to create to translate the component or module, one for the frontend, one for the backend.

These files have to be named following the convention:

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

For example: en-GB.mod_ajax_contact.ini for english, pt-BR.mod_ajax_contact.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

For Brazilian Portuguese

/language/pt-BR/pt-BR.com_contact_enhanced.ini

Inside these files, you add translations following the convention:

ALIAS=translation
Which would look something like this:
ENTER YOUR NAME=Enter your name

Or this in Portuguese:

ENTER YOUR NAME=Digite seu nome

Note that it is important that ALIAS is capitalize.

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

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