! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
About cookie lang and browsers language preferences
Status:
RESOLVED: MOVED
Product:
www.xfce.org
Component:
General

Comments

Description scootergrisen 2017-01-30 19:34:17 CET
Lets say some danish users visit xfce.org and try to select danish translation in the language selector drop down. But danish is/was not there at the time so they end up selecting english.

Then a cookie called lang is set to en (english).

Then i translate the website on Transifex and we get danish translation to work on the menu and "Danish" is added to the language selector...

But...
Because the users already a a cookie set with "en" the website will not show the danish translation and the users are not informed that the website is not available in danish. Unless they check the drop down from time to time, but why would they, danish was not there the last time.

So maybe offer a "Browser preferences" option or maybe display a none annoying message like "This website is also available in X" depending on the browsers preferences (navigator.languages) so users can know about the translation.
Comment 1 Git Bot editbugs 2020-05-20 18:39:15 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/www/www.xfce.org/-/issues/4.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #13320

Reported by:
scootergrisen
Reported on: 2017-01-30
Last modified on: 2020-05-20

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information