Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

怎样设置中英文切换功能?
 
intematrix_kevin
Jr. Member
 
Total Posts:  2
Joined:  2008-12-25
 

How to set switching functions in both English and Chinese?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ruirui
Jr. Member
 
Total Posts:  5
Joined:  2008-12-10
 

可以参考官方演示站
http://demo.magentocommerce.com/

<!--code-->

<label for="select-language">Your Language: </label>
<select id="select-language" onchange="[removed].href=this.value">

<option value="http://demo.magentocommerce.com/?___store=cs_CZ&___from_store=default" >Czech (Czech Republic)</option>
<option value="http://demo.magentocommerce.com/?___store=da_DK&___from_store=default" >Danish (Denmark)</option>
<option value="http://demo.magentocommerce.com/?___store=nl_NL&___from_store=default" >Dutch (Netherlands)</option>
<option value="http://demo.magentocommerce.com/?___store=default&___from_store=default" selected="selected">English</option>
<option value="http://demo.magentocommerce.com/?___store=french&___from_store=default" >French</option>
<option value="http://demo.magentocommerce.com/?___store=fr_CA&___from_store=default" >French (Canada)</option>

<option value="http://demo.magentocommerce.com/?___store=german&___from_store=default" >German</option>
<option value="http://demo.magentocommerce.com/?___store=de_CH&___from_store=default" >German (Switzerland)</option>
<option value="http://demo.magentocommerce.com/?___store=hu_HU&___from_store=default" >Hungarian (Hungary)</option>
<option value="http://demo.magentocommerce.com/?___store=lt_LT&___from_store=default" >Lithuanian (Lithuania)</option>
<option value="http://demo.magentocommerce.com/?___store=mk_MK&___from_store=default" >Macedonian (Macedonia)</option>
<option value="http://demo.magentocommerce.com/?___store=nb_NO&___from_store=default" >Norwegian Bokmal (Norway)</option>

<option value="http://demo.magentocommerce.com/?___store=pl_PL&___from_store=default" >Polish (Poland)</option>
<option value="http://demo.magentocommerce.com/?___store=pt_BR&___from_store=default" >Portuguese (Brazil)</option>
<option value="http://demo.magentocommerce.com/?___store=pt_PT&___from_store=default" >Portuguese (Portugal)</option>
</select>

<!--code-->

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top