Topic: FA - Tamil Translation
The standard FA Repo does not as yet have any Tamil Translation.
If anyone has done it hitherto - please provide it to the project.
A small start has been made in doing it afresh. Around 230 (out of around 3000) strings have been translated, compiled and attached herein along with screenshots to enable others to contribute as well.
In debian squeeze the following were done to get it working:
# locale-gen en_US.UTF-8 UTF-8 ta_IN UTF-8 en_US.ISO-8859-1 ISO-8859-1 sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen sed -i -e 's/# en_US ISO-8859-1/en_US ISO-8859-1/' /etc/locale.gen sed -i -e 's/# ta_IN UTF-8/ta_IN UTF-8/' /etc/locale.gen dpkg-reconfigure --frontend=noninteractive locales update-locale en_US ISO-8859-1 en_US.UTF-8 UTF-8 ta_IN
The translation files were uploaded to lang folder.
A element was added to the array in lang/installed_languages.inc which now became:
<?php /* How to make new entries here for non-packaged languages: -- 'code' should match the name of the directory for the language under \lang .-- 'name' is the name that will be displayed in the language selection list (in Users and Display Setup) -- 'rtl' only needs to be set for right-to-left languages like Arabic and Hebrew -- 'encoding' used in translation file -- 'version' always set to '' for manually installed languages. -- 'path' installation path related to FA root (e.g. 'lang/en_US'). */ $installed_languages = array ( 0 => array ( 'code' => 'C', 'name' => 'English', 'encoding' => 'iso-8859-1', ), 1 => array ( 'code' => 'en_US', 'name' => 'English US', 'encoding' => 'utf-8', 'path' => 'lang/en_US', ), 2 => array ( 'code' => 'ta_IN', 'name' => 'Tamil IN', 'encoding' => 'utf-8', 'path' => 'lang/ta_IN', ), ); $dflt_lang = 'C'; ?>
Login to the default company as admin and navigate to Setup -> Install/Activate Languages and choose the ta_IN radio button. Logout and Login again and the Tamil Login Interface will come up.
If you are using PoEdit to compile the .po to .mo file, then in Windows, the following utility (make_mo.bat) will come in useful when placed and executed from where the .po file is:
set langname=ta_IN set poedpath=C:\Program Files\Poedit\bin\ copy %langname%.po "%poedpath%" set abc=%cd% cd "%poedpath%" msgfmt %langname%.po -o %langname%.mo move %langname%.mo "%abc%" del %langname%.po cd %abc% set abc=