Currently, if a user is anonymous, the locale is take from the HTTP
This does not happen for logged in users.
For new users who first came to the site, their language is set to the site default. This may not be optimal, as the user can be from any world region.
It would be nice to detect whether
default, and if so set it to
locale_from_header. This way, new users will automatically see the site from his/her own language.
They can, of course, change it themselves in their profile, but not every new user knows how to do this, they being “new”. And language is such a significant part of the user experience.
The rules are different for anon because it becomes a caching nightmare that ruins performance. I believe
@sam has a topic on that he can point you to.
I suspected that it is something similar…
However, if the site is going to have multi-lingual users, then eventually many locales are going to be hit, and you mind as well bite the bullet on day one…
What I’m bringing up is first-impression user experience. A Spanish user these days will expect to surf to a site and see a Spanish version (if available) automatically. He/she won’t expect to need to go into the profile to set language.
It is quite difficult. Feel free to submit a pull request if you feel this is something that needs to be done.
New Discourse user here, but super impressed and excited about what a great product it is. I am developing a forum that will be multilingual (Arabic/English/German). Most users will be extremely limited in the other languages, basically I don’t want to expect a German/English speaker to be able to read Arabic script, and vice versa. I also don’t want to rely too much on their computer skills—want to make this as easy as possible.
Is there a way that I can provide a separate URL that …
Should have searched more before jumping in and creating a new topic.