Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Magento: Change default language

Tags:

magento

I've searched for this for hours again, so here I am!

How do you change the default (English) language to any other language in Magento? Basically, I want all my customer from store B to arrive at the French version of the site first by default, not the English.

Thanks a lot

like image 725
Joel Avatar asked Mar 20 '11 06:03

Joel


4 Answers

In the admin menu System > Configuration, the first tab shown should be General and it includes a Locale section. That is where you set a store's language. You can choose which store it applies to with the scope selection in the top left of the page.

like image 99
clockworkgeek Avatar answered Nov 09 '22 14:11

clockworkgeek


Set those variables in .htaccess

SetEnv MAGE_RUN_CODE "here put store_code from BO for french version"

SetEnv MAGE_RUN_TYPE "store" <- this leave as it is

like image 39
xyz Avatar answered Nov 09 '22 15:11

xyz


Go to Magento Admin

System > Configuration

Current Configuration Section from left side bar

Go to general block and then go to Local Options and select your default language and click on save config and clear your cache from admin then got to frontend and refresh the page you will see the default language is set to your desired language.

like image 4
Yogesh Trivedi Avatar answered Nov 09 '22 15:11

Yogesh Trivedi


Login to backend then go to System > Manager Stores > Click "Main Website Store" and chose default Store you need.

like image 2
Công Avatar answered Nov 09 '22 14:11

Công