omeka / omeka-s

Omeka S is a web publication system for universities, galleries, libraries, archives, and museums. It consists of a local network of independently curated exhibits sharing a collaboratively built pool of items, media, and their metadata.
GNU General Public License v3.0
401 stars 134 forks source link

sort property names by translated label #2020

Open tdombos opened 1 year ago

tdombos commented 1 year ago

The properties under each vocabulary (in both the vocabulary view and in select input fields in the admin and public interfaces) should sort the properties based on the language of the user interface. Currently it is sorted based on the English label, which is very confusing if one uses Omeka in a different language.

zerocrates commented 1 year ago

I appreciate the issue here... there's at least a little complexity involved since the translated labels are not available to the database, so we can't get them sorted in the correct order for another language "out of the box." We'd have to re-sort them in PHP code... with the typical number of properties for even an install with a lot of them, this shouldn't really be an issue, though.