Adding English (India) locale

We were working on a eCommerce website based on magento for INDIA. Magento allows the locale from admin, the path to be followed is Admin >> System >> Configuration >> General >> Locale. In the “Locale” dropdown it has option for English (United States), English (United Kingdom), Hindi (India) etc. but no option for English (India).

 

Locale Options

 

I needed the English (India) option in dropdown so I added the following lines in “config.xml” file of a custom Magento module that I had already created under section.


<locale>
<allow>
<codes><en_IN/></codes>
</allow>
</locale>

Config XML

 

Now to make the locale files available, I created a new folder app/locale/en_IN. I copied the en_US locale csv files to en_IN and then modified the en_IN csv files as per requirement.

 

Leave a Comment

Back to top