Staff Client - locale options not sorted

Bug #989204 reported by George Duimovich on 2012-04-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Low
Unassigned

Bug Description

Staff Client rel_2_2_beta2

In the Staff Client login screen, the locale options are not sorted alphabetically. Would be nice if they were (for those of use who work in multiple languages).

Changed in evergreen:
status: New → Triaged
Revision history for this message
Jane Sandberg (sandbej) wrote :

This is still the case for the Web staff client under 3.0.3. I've attached an image where it alphabetizes "French (Canada)" after "Spanish"

tags: added: bitesize i18n webstaffclient
removed: bytesize locale staff-client
Jane Sandberg (sandbej) on 2018-05-30
tags: added: sorting
Revision history for this message
Jane Sandberg (sandbej) wrote :

A simple solution is to change ctx.locales.keys.sort to ctx.locales.sort on this line: https://github.com/evergreen-library-system/Evergreen/blob/master/Open-ILS/src/templates/staff/navbar.tt2#L544

However, I couldn't get the locale picker itself to translate into any non-English languages. Before creating a branch, I'd want to check to make sure that when the locale picker is displaying in Spanish -- for example -- it sorts alphabetically in Spanish too.

Changed in evergreen:
importance: Undecided → Low
tags: removed: webstaffclient
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers