选择页面

translate.csv note

Q.首位特殊字符无法翻译(希腊语和俄语大面积出现基本上通篇无法翻译)
How to Custom,Προσαρμοσμένες μετρήσεις

A.间隔逗号之后,翻译首位字符之前加上一些空白的html代码(js提示文字则加入\t等代码)
How to Custom,<i></i>Προσαρμοσμένες μετρήσεις


Q.
A.

When editing CSV files please be aware of the following:

  • The first message should be written exactly as it appears in English translation (case sensitive with all punctuation), the second message is a translated message
  • The CSV editor should be capable to save file in UTF-8 encoding(Excel is not capable). It is possible to edit CSV files using Notepad,Notepad++, OpenOffice/LibreOffice
  • Some strings contains %s or %d entries, these entries should be kept in the translated string as well

Magento Translation Country Code:

控制翻译的translate.csv要确定类似这种en_US代码
System > Configuration > General > Locale Options
切换到对应国家查看value值

<select id="general_locale_code" name="groups[locale][fields][value]" class=" select">
<option value="af_ZA">Afrikaans (South Africa)</option>
<option value="sq_AL">Albanian (Albania)</option>
<option value="ar_DZ">Arabic (Algeria)</option>
<option value="ar_EG">Arabic (Egypt)</option>
<option value="ar_KW">Arabic (Kuwait)</option>
<option value="ar_MA">Arabic (Morocco)</option>
<option value="ar_SA">Arabic (Saudi Arabia)</option>
<option value="az_AZ">Azerbaijani (Azerbaijan)</option>
<option value="be_BY">Belarusian (Belarus)</option>
<option value="bn_BD">Bengali (Bangladesh)</option>
<option value="bs_BA">Bosnian (Bosnia and Herzegovina)</option>
<option value="bg_BG">Bulgarian (Bulgaria)</option>
<option value="ca_ES">Catalan (Spain)</option>
<option value="zh_CN">Chinese (China)</option>
<option value="zh_HK">Chinese (Hong Kong SAR China)</option>
<option value="zh_TW">Chinese (Taiwan)</option>
<option value="hr_HR">Croatian (Croatia)</option>
<option value="cs_CZ">Czech (Czech Republic)</option>
<option value="da_DK">Danish (Denmark)</option>
<option value="nl_NL">Dutch (Netherlands)</option>
<option value="en_AU">English (Australia)</option>
<option value="en_CA">English (Canada)</option>
<option value="en_IE">English (Ireland)</option>
<option value="en_NZ">English (New Zealand)</option>
<option value="en_GB">English (United Kingdom)</option>
<option value="en_US">English (United States)</option>
<option value="et_EE">Estonian (Estonia)</option>
<option value="fil_PH">Filipino (Philippines)</option>
<option value="fi_FI">Finnish (Finland)</option>
<option value="fr_CA">French (Canada)</option>
<option value="fr_FR">French (France)</option>
<option value="gl_ES">Galician (Spain)</option>
<option value="ka_GE">Georgian (Georgia)</option>
<option value="de_AT">German (Austria)</option>
<option value="de_DE">German (Germany)</option>
<option value="de_CH">German (Switzerland)</option>
<option value="el_GR">Greek (Greece)</option>
<option value="gu_IN">Gujarati (India)</option>
<option value="he_IL">Hebrew (Israel)</option>
<option value="hi_IN">Hindi (India)</option>
<option value="hu_HU">Hungarian (Hungary)</option>
<option value="is_IS">Icelandic (Iceland)</option>
<option value="id_ID">Indonesian (Indonesia)</option>
<option value="it_IT">Italian (Italy)</option>
<option value="it_CH">Italian (Switzerland)</option>
<option value="ja_JP">Japanese (Japan)</option>
<option value="km_KH">Khmer (Cambodia)</option>
<option value="ko_KR">Korean (South Korea)</option>
<option value="lo_LA">Lao (Laos)</option>
<option value="lv_LV">Latvian (Latvia)</option>
<option value="lt_LT">Lithuanian (Lithuania)</option>
<option value="mk_MK">Macedonian (Macedonia)</option>
<option value="ms_MY">Malay (Malaysia)</option>
<option value="mn_MN">Mongolian (Mongolia)</option>
<option value="nb_NO" selected="selected">Norwegian Bokmål (Norway)</option>
<option value="nn_NO">Norwegian Nynorsk (Norway)</option>
<option value="fa_IR">Persian (Iran)</option>
<option value="pl_PL">Polish (Poland)</option>
<option value="pt_BR">Portuguese (Brazil)</option>
<option value="pt_PT">Portuguese (Portugal)</option>
<option value="ro_RO">Romanian (Romania)</option>
<option value="ru_RU">Russian (Russia)</option>
<option value="sr_RS">Serbian (Serbia)</option>
<option value="sk_SK">Slovak (Slovakia)</option>
<option value="sl_SI">Slovenian (Slovenia)</option>
<option value="es_AR">Spanish (Argentina)</option>
<option value="es_CL">Spanish (Chile)</option>
<option value="es_CO">Spanish (Colombia)</option>
<option value="es_CR">Spanish (Costa Rica)</option>
<option value="es_MX">Spanish (Mexico)</option>
<option value="es_PA">Spanish (Panama)</option>
<option value="es_PE">Spanish (Peru)</option>
<option value="es_ES">Spanish (Spain)</option>
<option value="es_VE">Spanish (Venezuela)</option>
<option value="sw_KE">Swahili (Kenya)</option>
<option value="sv_SE">Swedish (Sweden)</option>
<option value="th_TH">Thai (Thailand)</option>
<option value="tr_TR">Turkish (Turkey)</option>
<option value="uk_UA">Ukrainian (Ukraine)</option>
<option value="vi_VN">Vietnamese (Vietnam)</option>
<option value="cy_GB">Welsh (United Kingdom)</option>
</select>

//下面是单独国家的代码


<select id="general_country_default" name="groups[country][fields][default][value]" class="select">
	<option value="">--Please Select--</option>
	<option value="AF">Afghanistan</option>
	<option value="AX">Åland Islands</option>
	<option value="AL">Albania</option>
	<option value="DZ">Algeria</option>
	<option value="AS">American Samoa</option>
	<option value="AD">Andorra</option>
	<option value="AO">Angola</option>
	<option value="AI">Anguilla</option>
	<option value="AQ">Antarctica</option>
	<option value="AG">Antigua and Barbuda</option>
	<option value="AR">Argentina</option>
	<option value="AM">Armenia</option>
	<option value="AW">Aruba</option>
	<option value="AU">Australia</option>
	<option value="AT">Austria</option>
	<option value="AZ">Azerbaijan</option>
	<option value="BS">Bahamas</option>
	<option value="BH">Bahrain</option>
	<option value="BD">Bangladesh</option>
	<option value="BB">Barbados</option>
	<option value="BY">Belarus</option>
	<option value="BE">Belgium</option>
	<option value="BZ">Belize</option>
	<option value="BJ">Benin</option>
	<option value="BM">Bermuda</option>
	<option value="BT">Bhutan</option>
	<option value="BO">Bolivia</option>
	<option value="BA">Bosnia and Herzegovina</option>
	<option value="BW">Botswana</option>
	<option value="BV">Bouvet Island</option>
	<option value="BR">Brazil</option>
	<option value="IO">British Indian Ocean Territory</option>
	<option value="VG">British Virgin Islands</option>
	<option value="BN">Brunei</option>
	<option value="BG">Bulgaria</option>
	<option value="BF">Burkina Faso</option>
	<option value="BI">Burundi</option>
	<option value="KH">Cambodia</option>
	<option value="CM">Cameroon</option>
	<option value="CA">Canada</option>
	<option value="CV">Cape Verde</option>
	<option value="KY">Cayman Islands</option>
	<option value="CF">Central African Republic</option>
	<option value="TD">Chad</option>
	<option value="CL">Chile</option>
	<option value="CN">China</option>
	<option value="CX">Christmas Island</option>
	<option value="CC">Cocos [Keeling] Islands</option>
	<option value="CO">Colombia</option>
	<option value="KM">Comoros</option>
	<option value="CG">Congo - Brazzaville</option>
	<option value="CD">Congo - Kinshasa</option>
	<option value="CK">Cook Islands</option>
	<option value="CR">Costa Rica</option>
	<option value="CI">Côte d’Ivoire</option>
	<option value="HR">Croatia</option>
	<option value="CU">Cuba</option>
	<option value="CY">Cyprus</option>
	<option value="CZ">Czech Republic</option>
	<option value="DK">Denmark</option>
	<option value="DJ">Djibouti</option>
	<option value="DM">Dominica</option>
	<option value="DO">Dominican Republic</option>
	<option value="EC">Ecuador</option>
	<option value="EG">Egypt</option>
	<option value="SV">El Salvador</option>
	<option value="GQ">Equatorial Guinea</option>
	<option value="ER">Eritrea</option>
	<option value="EE">Estonia</option>
	<option value="ET">Ethiopia</option>
	<option value="FK">Falkland Islands</option>
	<option value="FO">Faroe Islands</option>
	<option value="FJ">Fiji</option>
	<option value="FI">Finland</option>
	<option value="FR">France</option>
	<option value="GF">French Guiana</option>
	<option value="PF">French Polynesia</option>
	<option value="TF">French Southern Territories</option>
	<option value="GA">Gabon</option>
	<option value="GM">Gambia</option>
	<option value="GE">Georgia</option>
	<option value="DE">Germany</option>
	<option value="GH">Ghana</option>
	<option value="GI">Gibraltar</option>
	<option value="GR">Greece</option>
	<option value="GL">Greenland</option>
	<option value="GD">Grenada</option>
	<option value="GP">Guadeloupe</option>
	<option value="GU">Guam</option>
	<option value="GT">Guatemala</option>
	<option value="GG">Guernsey</option>
	<option value="GN">Guinea</option>
	<option value="GW">Guinea-Bissau</option>
	<option value="GY">Guyana</option>
	<option value="HT">Haiti</option>
	<option value="HM">Heard Island and McDonald Islands</option>
	<option value="HN">Honduras</option>
	<option value="HK">Hong Kong SAR China</option>
	<option value="HU">Hungary</option>
	<option value="IS">Iceland</option>
	<option value="IN">India</option>
	<option value="ID">Indonesia</option>
	<option value="IR">Iran</option>
	<option value="IQ">Iraq</option>
	<option value="IE">Ireland</option>
	<option value="IM">Isle of Man</option>
	<option value="IL">Israel</option>
	<option value="IT">Italy</option>
	<option value="JM">Jamaica</option>
	<option value="JP">Japan</option>
	<option value="JE">Jersey</option>
	<option value="JO">Jordan</option>
	<option value="KZ">Kazakhstan</option>
	<option value="KE">Kenya</option>
	<option value="KI">Kiribati</option>
	<option value="KW">Kuwait</option>
	<option value="KG">Kyrgyzstan</option>
	<option value="LA">Laos</option>
	<option value="LV">Latvia</option>
	<option value="LB">Lebanon</option>
	<option value="LS">Lesotho</option>
	<option value="LR">Liberia</option>
	<option value="LY">Libya</option>
	<option value="LI">Liechtenstein</option>
	<option value="LT">Lithuania</option>
	<option value="LU">Luxembourg</option>
	<option value="MO">Macau SAR China</option>
	<option value="MK">Macedonia</option>
	<option value="MG">Madagascar</option>
	<option value="MW">Malawi</option>
	<option value="MY">Malaysia</option>
	<option value="MV">Maldives</option>
	<option value="ML">Mali</option>
	<option value="MT">Malta</option>
	<option value="MH">Marshall Islands</option>
	<option value="MQ">Martinique</option>
	<option value="MR">Mauritania</option>
	<option value="MU">Mauritius</option>
	<option value="YT">Mayotte</option>
	<option value="MX">Mexico</option>
	<option value="FM">Micronesia</option>
	<option value="MD">Moldova</option>
	<option value="MC">Monaco</option>
	<option value="MN">Mongolia</option>
	<option value="ME">Montenegro</option>
	<option value="MS">Montserrat</option>
	<option value="MA">Morocco</option>
	<option value="MZ">Mozambique</option>
	<option value="MM">Myanmar [Burma]</option>
	<option value="NA">Namibia</option>
	<option value="NR">Nauru</option>
	<option value="NP">Nepal</option>
	<option value="NL">Netherlands</option>
	<option value="AN">Netherlands Antilles</option>
	<option value="NC">New Caledonia</option>
	<option value="NZ">New Zealand</option>
	<option value="NI">Nicaragua</option>
	<option value="NE">Niger</option>
	<option value="NG">Nigeria</option>
	<option value="NU">Niue</option>
	<option value="NF">Norfolk Island</option>
	<option value="MP">Northern Mariana Islands</option>
	<option value="KP">North Korea</option>
	<option value="NO" selected="selected">Norway</option>
	<option value="OM">Oman</option>
	<option value="PK">Pakistan</option>
	<option value="PW">Palau</option>
	<option value="PS">Palestinian Territories</option>
	<option value="PA">Panama</option>
	<option value="PG">Papua New Guinea</option>
	<option value="PY">Paraguay</option>
	<option value="PE">Peru</option>
	<option value="PH">Philippines</option>
	<option value="PN">Pitcairn Islands</option>
	<option value="PL">Poland</option>
	<option value="PT">Portugal</option>
	<option value="PR">Puerto Rico</option>
	<option value="QA">Qatar</option>
	<option value="RE">Réunion</option>
	<option value="RO">Romania</option>
	<option value="RU">Russia</option>
	<option value="RW">Rwanda</option>
	<option value="BL">Saint Barthélemy</option>
	<option value="SH">Saint Helena</option>
	<option value="KN">Saint Kitts and Nevis</option>
	<option value="LC">Saint Lucia</option>
	<option value="MF">Saint Martin</option>
	<option value="PM">Saint Pierre and Miquelon</option>
	<option value="VC">Saint Vincent and the Grenadines</option>
	<option value="WS">Samoa</option>
	<option value="SM">San Marino</option>
	<option value="ST">São Tomé and Príncipe</option>
	<option value="SA">Saudi Arabia</option>
	<option value="SN">Senegal</option>
	<option value="RS">Serbia</option>
	<option value="SC">Seychelles</option>
	<option value="SL">Sierra Leone</option>
	<option value="SG">Singapore</option>
	<option value="SK">Slovakia</option>
	<option value="SI">Slovenia</option>
	<option value="SB">Solomon Islands</option>
	<option value="SO">Somalia</option>
	<option value="ZA">South Africa</option>
	<option value="GS">South Georgia and the South Sandwich Islands</option>
	<option value="KR">South Korea</option>
	<option value="ES">Spain</option>
	<option value="LK">Sri Lanka</option>
	<option value="SD">Sudan</option>
	<option value="SR">Suriname</option>
	<option value="SJ">Svalbard and Jan Mayen</option>
	<option value="SZ">Swaziland</option>
	<option value="SE">Sweden</option>
	<option value="CH">Switzerland</option>
	<option value="SY">Syria</option>
	<option value="TW">Taiwan</option>
	<option value="TJ">Tajikistan</option>
	<option value="TZ">Tanzania</option>
	<option value="TH">Thailand</option>
	<option value="TL">Timor-Leste</option>
	<option value="TG">Togo</option>
	<option value="TK">Tokelau</option>
	<option value="TO">Tonga</option>
	<option value="TT">Trinidad and Tobago</option>
	<option value="TN">Tunisia</option>
	<option value="TR">Turkey</option>
	<option value="TM">Turkmenistan</option>
	<option value="TC">Turks and Caicos Islands</option>
	<option value="TV">Tuvalu</option>
	<option value="UG">Uganda</option>
	<option value="UA">Ukraine</option>
	<option value="AE">United Arab Emirates</option>
	<option value="GB">United Kingdom</option>
	<option value="US">United States</option>
	<option value="UY">Uruguay</option>
	<option value="UM">U.S. Minor Outlying Islands</option>
	<option value="VI">U.S. Virgin Islands</option>
	<option value="UZ">Uzbekistan</option>
	<option value="VU">Vanuatu</option>
	<option value="VA">Vatican City</option>
	<option value="VE">Venezuela</option>
	<option value="VN">Vietnam</option>
	<option value="WF">Wallis and Futuna</option>
	<option value="EH">Western Sahara</option>
	<option value="YE">Yemen</option>
	<option value="ZM">Zambia</option>
	<option value="ZW">Zimbabwe</option>
</select>

Magento translation extensions:

Language Magento 1.4.0.0 - 1.4.1.1 extension key Magento 1.5.x.x/1.7.0.2 extension key
Afrikaans (South Africa) magento-community/Locale_Mage_community_af_ZA community/Locale_Mage_community_af_ZA
Arabic (Egypt) العربية magento-community/Locale_Mage_community_ar_EG community/Locale_Mage_community_ar_EG
Arabic (Kuwait) العربية magento-community/Locale_Mage_community_ar_KW community/Locale_Mage_community_ar_KW
Arabic (Morocco) العربية magento-community/Locale_Mage_community_ar_MA community/Locale_Mage_community_ar_MA
Arabic (Saudi Arabia) العربية magento-community/Locale_Mage_community_ar_SA community/Locale_Mage_community_ar_SA
Bulgarian (Bulgaria) Български magento-community/Locale_Mage_community_bg_BG community/Locale_Mage_community_bg_BG
Bengali (Bangladesh) বাংলা magento-community/Locale_Mage_community_bn_BD community/Locale_Mage_community_bn_BD
Bosnian (Bosnia) Bosanski magento-community/Locale_Mage_community_bs_BA community/Locale_Mage_community_bs_BA
Catalan (Catalonia) Català magento-community/Locale_Mage_community_ca_ES community/Locale_Mage_community_ca_ES
Czech (Czech Republic) Čeština magento-community/Locale_Mage_community_cs_CZ community/Locale_Mage_community_cs_CZ
Welsh (United Kingdom) Cymraeg magento-community/Locale_Mage_community_cy_GB community/Locale_Mage_community_cy_GB
Danish (Denmark) Dansk magento-community/Locale_Mage_community_da_DK community/Locale_Mage_community_da_DK
German (Austria) Deutsch magento-community/Locale_Mage_community_de_AT community/Locale_Mage_community_de_AT
German (Switzerland) Deutsch magento-community/Locale_Mage_community_de_CH community/Locale_Mage_community_de_CH
German (Germany) Deutsch magento-community/Locale_Mage_community_de_DE community/Locale_Mage_community_de_DE
Greek (Greece) Ελληνικά magento-community/Locale_Mage_community_el_GR community/Locale_Mage_community_el_GR
English (Great Britain) magento-community/Locale_Mage_community_en_GB community/Locale_Mage_community_en_GB
English (Australia) magento-community/Locale_Mage_Community_en_AU community/Locale_Mage_Community_en_AU
Spanish (Argentina) Español magento-community/Locale_Mage_community_es_AR community/Locale_Mage_community_es_AR
Spanish (Chile) Español magento-community/Locale_Mage_community_es_CL community/Locale_Mage_community_es_CL
Spanish (Colombia) Español magento-community/Locale_Mage_community_es_CO community/Locale_Mage_community_es_CO
Spanish (Spain) Español magento-community/Locale_Mage_community_es_ES community/Locale_Mage_community_es_ES
Spanish (Mexico) Español magento-community/Locale_Mage_community_es_MX community/Locale_Mage_community_es_MX
Persian (Iran) فارسی magento-community/Locale_Mage_community_fa_IR community/Locale_Mage_community_fa_IR
Filipino (Philippines) Filipino magento-community/Locale_Mage_community_fil_PH community/Locale_Mage_community_fil_PH
Finnish (Finland) Suomi magento-community/Locale_Mage_community_fi_FI community/Locale_Mage_community_fi_FI
French (Canada) Français magento-community/Locale_Mage_community_fr_CA community/Locale_Mage_community_fr_CA
French (France) Français magento-community/Locale_Mage_community_fr_FR community/Locale_Mage_community_fr_FR
Hebrew (Israel) עברית magento-community/Locale_Mage_community_he_IL community/Locale_Mage_community_he_IL
Croatian (Croatia) Hrvatski magento-community/Locale_Mage_community_hr_HR community/Locale_Mage_community_hr_HR
Hungarian (Hungary) Magyar magento-community/Locale_Mage_community_hu_HU community/Locale_Mage_community_hu_HU
Indonesian (Indonesia) Bahasa Indonesia magento-community/Locale_Mage_community_id_ID community/Locale_Mage_community_id_ID
Italian (Switzerland) Italiano magento-community/Locale_Mage_community_it_CH community/Locale_Mage_community_it_CH
Italian (Italy) Italiano magento-community/Locale_Mage_community_it_IT community/Locale_Mage_community_it_IT
Japanese (Japan) 日本語 magento-community/Locale_Mage_community_ja_JP community/Locale_Mage_community_ja_JP
Lithuanian (Lithuania) Lietuvių kalba magento-community/Locale_Mage_community_lt_LT community/Locale_Mage_community_lt_LT
Latvian (Latvia) Latviešu valoda magento-community/Locale_Mage_community_lv_LV community/Locale_Mage_community_lv_LV
Macedonian (Macedonia) Македонски јазик magento-community/Locale_Mage_community_mk_MK community/Locale_Mage_community_mk_MK
Mongolian (Mongolia) Монгол хэл magento-community/Locale_Mage_community_mn_MN community/Locale_Mage_community_mn_MN
Malaysian (Malaysia) Bahasa Melayu magento-community/Locale_Mage_community_ms_MY community/Locale_Mage_community_ms_MY
Norwegian Bokmal (Norway) Bokmål magento-community/Locale_Mage_community_nb_NO community/Locale_Mage_community_nb_NO
Dutch (Netherlands) Nederlands magento-community/Locale_Mage_community_nl_NL community/Locale_Mage_community_nl_NL
Norwegian Nynorsk (Norway) Nynorsk magento-community/Locale_Mage_community_nn_NO community/Locale_Mage_community_nn_NO
Polish (Poland) Polszczyzna magento-community/Locale_Mage_community_pl_PL community/Locale_Mage_community_pl_PL
Portuguese (Brazil) Português magento-community/Locale_Mage_community_pt_BR community/Locale_Mage_community_pt_BR
Portuguese (Portugal) Português magento-community/Locale_Mage_community_pt_PT community/Locale_Mage_community_pt_PT
Romanian (Romania) Română magento-community/Locale_Mage_community_ro_RO community/Locale_Mage_community_ro_RO
Russian (Russia) Русский magento-community/Locale_Mage_community_ru_RU community/Locale_Mage_community_ru_RU
Slovak (Slovakia) Slovenčina magento-community/Locale_Mage_community_sk_SK community/Locale_Mage_community_sk_SK
Slovenian (Slovenia) Slovenščina magento-community/Locale_Mage_community_sl_SI community/Locale_Mage_community_sl_SI
Albanian (Albania) Shqip magento-community/Locale_Mage_community_sq_AL community/Locale_Mage_community_sq_AL
Serbian (Serbia) Српски magento-community/Locale_Mage_community_sr_RS community/Locale_Mage_community_sr_RS
Swedish magento-community/Locale_Mage_community_sv_SE community/Locale_Mage_community_sv_SE
Thai (Thailand) ภาษาไทย magento-community/Locale_Mage_community_th_TH community/Locale_Mage_community_th_TH
Turkish (Turkey) Türkçe magento-community/Locale_Mage_community_tr_TR community/Locale_Mage_community_tr_TR
Ukrainian (Ukraine) Українська мова magento-community/Locale_Mage_community_uk_UA community/Locale_Mage_community_uk_UA
Vietnamese (Vietnam) Tiếng Việt magento-community/Locale_Mage_community_vi_VN community/Locale_Mage_community_vi_VN

http://kb.magenting.com/content/14/50/en/translate-magento-interface-magento-localization-tips.html