Hi, everyone my site is in Spanish and English, and my users are to lazy to change their language settings in the panel, is there a way
to tell drupal to auto change from one to the other depending on their browser language settings? I see many sites that do this..

Thanks

Comments

mrtoner’s picture

See Localizer. From the docs:

Language selection

* A language switch block is provided (optional) so visitors can click to change desired language
* Automatic language selection is provided (all optional):
1. via the preferred language setting of the browser
2. via hostname: it.example.com, en.example.com
3. via preference settings in My account
* "Fallback language" functionality is provided to allow display of content in another language in the event that the translation for the language being viewed does not exist.

joergvk’s picture

Is there a solution for Drupal 6?

Thanks!

Bilmar’s picture

Would it be possible to switch between languages by the role of the users?
Thank you