Doc Posted January 23, 2017 Share Posted January 23, 2017 Hello, I'm wondering how that variable is filled up ? $user->language Language User language, applicable only if LanguageSupport installed. It says 'fr' for me, and it's the default language I chose for the website I'm building, is it taken from here ? Thanks Link to comment Share on other sites More sharing options...
LostKobrakai Posted January 23, 2017 Share Posted January 23, 2017 It's the language choosen for that user in the backend. For non logged-in users it's the language of the guest user. 1 Link to comment Share on other sites More sharing options...
Doc Posted January 23, 2017 Author Share Posted January 23, 2017 OK... I didn't know the guest user was associated with a language. I've just checked in the admin and it's 'fr', mystery solved, thanks ! 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