Ticket #126 (new defect)
try all browser languages instead of only the first one
| Reported by: | lars | Owned by: | phil |
|---|---|---|---|
| Priority: | low | Milestone: | Wishlist |
| Component: | usability | Version: | svn |
| Severity: | minor | Keywords: | language fallback gettext |
| Cc: |
Description
A "browser language" is a user language that is configured as a "preferred language" in the browser settings.
for now the method get_browser_language in source:trunk/src/cryptobox/web/sites.py is only looking for the first language that is supported by the CryptoBox.
But if there is more than one browser language supported by the CryptoBox, then _all_ of them should be moved to the top of the language priority list (this defines the order of the fallback languages).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
