Knowledgebase
Knowledgebase
How to translate in Magento
Posted by Michael Magegiant on 01 January 2015 02:25 PM

There are 2 solutions to translate to your language

1. Translate inline.

This is simple but effect solution for store own.

From Magento Admin Panel, go to System > Configuration > Developer

You can see "Translate inline" section. Let's enable them in Frontend or Admin. See http://screencast.com/t/X27Zr1elVcC

Then Save Config and flush cache by going to System > Cache Management > Flush Magento Cache.

Now go to frontend and translate text into your language, see http://screencast.com/t/Ha71et1CkRh

 

2. CSV file.

In this tutorial, I am going to translate One step checkout extension to French.

CSV file name: Magegiant_Extensionname.csv

CSV File path: /app/locale/en_US/Magegiant_Onestepcheckout.csv

Copy /app/locale/en_US/Magegiant_Onestepcheckout.csv into /app/locale/fr_FR/Magegiant_Onestepcheckout.csv

Open Magegiant_Onestepcheckout.csv in French folder and edit them.

 

All strings should start and end with double quotes and should be separated with comma (,), not a semicolon or any other sign.

"My Cart","Mon panier"

 

 

 

Supported Locales

Language

Country

Locale ID

Albanian

Albania

sq_AL

Arabic

Algeria

ar_DZ

Arabic

Bahrain

ar_BH

Arabic

Egypt

ar_EG

Arabic

Iraq

ar_IQ

Arabic

Jordan

ar_JO

Arabic

Kuwait

ar_KW

Arabic

Lebanon

ar_LB

Arabic

Libya

ar_LY

Arabic

Morocco

ar_MA

Arabic

Oman

ar_OM

Arabic

Qatar

ar_QA

Arabic

Saudi Arabia

ar_SA

Arabic

Sudan

ar_SD

Arabic

Syria

ar_SY

Arabic

Tunisia

ar_TN

Arabic

United Arab Emirates

ar_AE

Arabic

Yemen

ar_YE

Belarusian

Belarus

be_BY

Bulgarian

Bulgaria

bg_BG

Catalan

Spain

ca_ES

Chinese (Simplified)

China

zh_CN

Chinese (Simplified)

Singapore

zh_SG

Chinese (Traditional)

Hong Kong

zh_HK

Chinese (Traditional)

Taiwan

zh_TW

Croatian

Croatia

hr_HR

Czech

Czech Republic

cs_CZ

Danish

Denmark

da_DK

Dutch

Belgium

nl_BE

Dutch

Netherlands

nl_NL

English

Australia

en_AU

English

Canada

en_CA

English

India

en_IN

English

Ireland

en_IE

English

Malta

en_MT

English

New Zealand

en_NZ

English

Philippines

en_PH

English

Singapore

en_SG

English

South Africa

en_ZA

English

United Kingdom

en_GB

English

United States

en_US

Estonian

Estonia

et_EE

Finnish

Finland

fi_FI

French

Belgium

fr_BE

French

Canada

fr_CA

French

France

fr_FR

French

Luxembourg

fr_LU

French

Switzerland

fr_CH

German

Austria

de_AT

German

Germany

de_DE

German

Luxembourg

de_LU

German

Switzerland

de_CH

Greek

Cyprus

el_CY

Greek

Greece

el_GR

Hebrew

Israel

iw_IL

Hindi

India

hi_IN

Hungarian

Hungary

hu_HU

Icelandic

Iceland

is_IS

Indonesian

Indonesia

in_ID

Irish

Ireland

ga_IE

Italian

Italy

it_IT

Italian

Switzerland

it_CH

Japanese (Gregorian calendar)

Japan

ja_JP

Japanese (Imperial calendar)

Japan

ja_JP_JP

Korean

South Korea

ko_KR

Latvian

Latvia

lv_LV

Lithuanian

Lithuania

lt_LT

Macedonian

Macedonia

mk_MK

Malay

Malaysia

ms_MY

Maltese

Malta

mt_MT

Norwegian (Bokmål)

Norway

no_NO

Norwegian (Nynorsk)

Norway

no_NO_NY

Polish

Poland

pl_PL

Portuguese

Brazil

pt_BR

Portuguese

Portugal

pt_PT

Romanian

Romania

ro_RO

Russian

Russia

ru_RU

Serbian (Cyrillic)

Bosnia and Herzegovina

sr_BA

Serbian (Cyrillic)

Montenegro

sr_ME

Serbian (Cyrillic)

Serbia

sr_RS

Serbian (Latin)

Bosnia and Herzegovina

sr_Latn_BA

Serbian (Latin)

Montenegro

sr_Latn_ME

Serbian (Latin)

Serbia

sr_Latn_RS

Slovak

Slovakia

sk_SK

Slovenian

Slovenia

sl_SI

Spanish

Argentina

es_AR

Spanish

Bolivia

es_BO

Spanish

Chile

es_CL

Spanish

Colombia

es_CO

Spanish

Costa Rica

es_CR

Spanish

Dominican Republic

es_DO

Spanish

Ecuador

es_EC

Spanish

El Salvador

es_SV

Spanish

Guatemala

es_GT

Spanish

Honduras

es_HN

Spanish

Mexico

es_MX

Spanish

Nicaragua

es_NI

Spanish

Panama

es_PA

Spanish

Paraguay

es_PY

Spanish

Peru

es_PE

Spanish

Puerto Rico

es_PR

Spanish

Spain

es_ES

Spanish

United States

es_US

Spanish

Uruguay

es_UY

Spanish

Venezuela

es_VE

Swedish

Sweden

sv_SE

Thai (Western digits)

Thailand

th_TH

Thai (Thai digits)

Thailand

th_TH_TH

Turkish

Turkey

tr_TR

Ukrainian

Ukraine

uk_UA

Vietnamese

Vietnam

vi_VN


Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Support Magegiant