default locale != current locale != user locale #1762
Labels
No Label
backend
critical
defect
duplicate
enhancement
fixed
frontend
general
invalid
major
minor
normal
oxjs
pandora_client
python-ox
task
trivial
wontfix
worksforme
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: 0x2620/pandora#1762
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
once we enable locale, default locale is used if user browser locale does not exist, user locale is used if set and overwrites browser locale,
this has to be reverted:
https://wiki.0x2620.org/changeset/pandora%2C3495
But pandora.site.user.ui.locale != pandora.user.ui.locale ... the change is just about not storing the same default twice in the same config file (and having the proper locale checked when loading pan.do/ra, currently).
In case we need an empty pandora.site.user.ui.locale later (to tell a new user from an existing user?), the property should be pandora.site.locale, not pandora.site.site.locale.
Thinking about it, storing the site default locale in pandora.site.user.ui.locale should be okay.
If we honor the browser locale on load (i.e. overwrite pandora.user.ui.locale), we should do this not just on first visit, but every time a user loads the page (as the browser locale may have changed). So it doesn't look like an empty ui default buys us much.
This can be simplified by adding something like user.ui.useSystemLocale, which defaults to true, and which can be checked/unchecked in the same submenu.