Jump to content

Display Available Languages


Recommended Posts

Hello...after googling and search in the forum i cant get an answer to my problem, so...

 

i'm trying do something like this: i've 5 languages installed on the site, i wish to make them all available only in cms pages (where i've a pack of explications etc etc) but in the store (index, product and category page) i wish only to display 2 of them (EN et FR)

 

is it possible? 

 

thanks

Link to comment
Share on other sites

You need make a modification on your blocklanguages on your theme

 

look on 

 

themes/YOURTEMPLATE/modules/blocklanguage/blocklanguage.tpl

 

You need add an if something like these

 

{if $page_name !='cms' }

 

USE THE SAME CODE

 

{else}

 

JUST USE THE 2 LANGUAGES

 

{/if}

 

but you need take about the default language

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...