edsmiths Posted December 26, 2013 Share Posted December 26, 2013 Hello all, Is there a way to have a customized page when the user select a language other than the default one. Trying to explain the idea: - The site is under construction and we want to keep it with the default language (FR) and show the selector for the other available languages, for instance English (EN), German (DE), whatever. - In the beginning, all the products and categories will have descriptions only in the default site language. - Wherever the user select another language (EN/DE) it will show a customized page showing a message like: "This store will be available soon in your language"... or something like that. This page will be the same throughout the whole site (products, categories, etc.). Thanks in advance, Ed Link to comment Share on other sites More sharing options...
vekia Posted December 26, 2013 Share Posted December 26, 2013 in .tpl files you can use something like that: {if $lang_iso !="en" || $lang_iso !="de"} {l s='This store will be available soon in your language'} {else} // HERE CONTENTS OF ORIGINAL PAGE {/if} Link to comment Share on other sites More sharing options...
edsmiths Posted December 26, 2013 Author Share Posted December 26, 2013 Thanks vekia... It works but with the code {if$lang_iso !="fr"} since FR is the default language. And this will do a redirect to a landing page {header('Location: http://www.custompage.com')} Thanks again Thread solved Link to comment Share on other sites More sharing options...
vekia Posted December 26, 2013 Share Posted December 26, 2013 oops it was my mistake thank you for information that it works now i marked topic as [solved] with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts