Gobri Posted June 4, 2012 Share Posted June 4, 2012 Hi, I have a shop under constuction with two languages ENG and SWE. Using mindsparx template, have populate with some items, also some other modifications and add-ons. Now I would like to hide and temporary shout down the english part of the shop, just using the Swedish. But keep the possibility to open up for English in the future. Please advice. Regards Gobri Quote Link to comment Share on other sites More sharing options...
MrPhil Posted June 4, 2012 Share Posted June 4, 2012 That's going to be fairly complicated. I'm not aware of any add-on or setting to do this, so it will probably take some code modification. First of all, English must be available as a fallback if a Swedish text definition isn't available, so you don't want to remove the English files. Second, application_top.php is going to select English if that's what the browser is configured to use. You will need to modify application_top.php to force Swedish as the language regardless of what the browser wants. Finally, any place that allows a language selection will have to be modified to hide the selection. I think that hiding the box will be enough, as Swedish should already be the default selection. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.