Enabling language switcher

Hello, I would like to enable the language switcher for JM Jasmine (Magento)

I have added

<?php echo $this->getChildHtml(‘store_language’) ?>

to app/design/frontend/default/jm_jasmine/template/page/html/header.phtml but still it doesn’t show.

Thank you in advance

7 answers

Profile photo of Stanislav Lazarov 0.00 $tone August 18, 2013
Public

Hello, I tried adding
<block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
to layout/page.xml

Now it works, however I have to disable the topLinks for the switcher to appear and vice versa. Is there a way to enable both of them or position the language switcher next to the topLinks?

Thanks in advance

#1
Profile photo of Sherlock 0.00 $tone August 19, 2013
Public

Hi slazarov,

You can enable the topLinks then give me your url here, I will check it with firebug to detect which need to be changed to get the language switcher displays next to the topLinks

#2
Profile photo of Sherlock 0.00 $tone August 23, 2013
Public

Hi mate,

Sorry for this late, you can open your theme.css file skin\frontend\default\your_theme\css and adding this css rule

HTML Code:

 .links {
      float: left;
    }

I hope that helps !

#6

This question is now closed

Written By

Comments