We’ve been rather happy with the content localisation, but found an issue regarding
Set locale from param setting.
It should allow setting an anonymous user’s locale via the ‘tl’ URL param, e.g. ?tl=es. Currently if we put e.g. ?tl=fi to forum URL, it correctly shows the UI and forum headers in Finnish for anonymous user. Yet if I click any thread open, it shows them incorrectly according browser’s Accept language header (English in this case).
If I understood correctly, priority should be ?lang= in the URL, then the locale cookie, then Accept-Language? Still at least in our case it seems that using ?tl only changes UI language but not shown translations.
As for the context what we’re trying to achieve:
- Guide users to Swedish forum version (tl=sv) from our .se site, and to Finnish version (tl=fi) from our .fi site and so on.
- For anonymous users browsing globally, it would be nice to have the browser locale header setting as default if we or user haven’t pre-selected the language.
Any thoughts?