magento建立多語言網站

來源:互聯網
上載者:User

標籤:des   http   io   re   c   res   

預設Magento僅僅有English語言套件,所以如果想也顯示中文,就要安裝中文語言套件.
步驟:
1. 首先,去http://www.magentocommerce.com/langs/list/下載中文包解壓縮到Magento目錄下,它複製到兩個目錄: 一個是app\design\frontend\default\default\locale,另一個是app\locale.
2. 去System -> Configuration, 再頁面左上方Current Configuration Scope下拉框處, 你能看見Default Config->Main Website->Main Website Store->Default Store View.
3. 現在去System->Manage Stores,建立一個新的Store View:
Store: Main Store
Name: 中文
Code: chinese
Status: Enabled
Sort order: 0
4. 儲存回到System > Configuration. 在Current Configuration Scope下拉框,現在看到Chinese store view,點擊:
在Locale options tab, 移除“use website” 檢查框的選擇然後把它的locale改為中Chinese (China). 存檔。
OK,現在你就有中文的網店了

5,還有一種方法是:直接下一個語言套件放到app/local/目錄下,然後在註冊

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.