How to add my language to list of supported languages
From TomatoCMS Documentation
When I go to the Localization settings page under the System > Configure > Localization menu, I see some of languages here.
So, the question is that how do I add my language to this list. For example, I just want to show English and Mexican Spanish here.
The list of languages shown here are taken from the locales.ini file which you can find in the /application/config directory.
In this file, each line configure each language in the following format:
languages[] = "languagecode_COUNTRYCODE|LocalLanguageName|EnglishLanguageName"
You can find the language and country code at
http://download.oracle.com/docs/cd/E13214_01/wli/docs92/xref/xqisocodes.html
For instance, you want to add the Mexican Spanish to this list and remove other languages expect the English, the content of the locales.ini file should be:
/application/config/locales.ini
[locales] languages[] = "en_US|English|English" languages[] = "es_MX|EspaƱol Mexicano|Mexican Spanish"
Next, put the flag icon file which its name has to be in the format of languagecode_COUNTRYCODE.png to the /images/flags directory.
In this case, I download the Mexico flag from http://www.famfamfam.com and rename it es_MX.png.
Now, you will see English and Mexican Spanish in the list of supported languages:


