Default language of site
joho1968 opened this issue ยท 7 comments
It'd be nice if there was a config (or database) option for "siteLanguage", which is output in the tag at the top of pages. I don't know if this is managed "automagically" by translations, but I may want to use the English (default) interface, but output most of my pages in Swedish, in which case it'd be nice if I could put "sv" as the "siteLanguage".
Same here, I also prefer to use the default admin interface in english but my website content in german - so I'm happy to agree with @joho1968 suggestion.
Kind regards and thanks,
Andreas ;)
This will be available with the next update 3.4.3, which should be published within the next few days.
You will be able to set the html lang parameter to anything (configurable for admins and visitors seperately) in the Settings - Security. :)
To take into effect, please change the following in your theme (after we release WonderCMS 3.4.3)
<html lang="<?= $Wcms->getSiteLanguage() ?>">
What is the "following" I can not see anything :)
Forgot the code block so it didnโt show the code, donโt use this yet until we release the new version :)
Ok thanks you very much :)
Closing issue, since this was release with 3.4.3 moments ago. :) Feel free to use this new functionality.