Digital360Europe Posted March 10, 2020 Share Posted March 10, 2020 Need to disable languages on front end, but keep enabled on back end. To be more specific I need the English language enabled on Back office because several modules can only work when the English language in enabling. On the contrary, on the front end, I don't want to be loaded the English version ( for example https://mywebsite.com/en ). Any suggestions will be appreciated! Link to comment Share on other sites More sharing options...
joseantgv Posted March 10, 2020 Share Posted March 10, 2020 Modules should work anyway if English is disabled. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted March 11, 2020 Share Posted March 11, 2020 If you want to achieve the same using the code, For PS 1.6, add the condition in the blocklanguages.tpl inside blocklanguages module folder. {if $language.iso_code neq "en"} For PS1.7, Apply the same in modules/ps_languageselector/ps_languageselector.tpl file. 1 Link to comment Share on other sites More sharing options...
El Patron Posted March 11, 2020 Share Posted March 11, 2020 could you not just disable language selector module? the in localization disable set language by brower (something like that) it will then serve default language everytime Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now