Doc Posted January 23, 2017 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
LostKobrakai Posted January 23, 2017 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
Doc Posted January 23, 2017 Author 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 !
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