bug #10307
closedAdapt comparator for feature list to use the language string
100%
Description
Currently the list of features is sorted by the titlecache, but should be sorted by the language string which is used in the list.
Related issues
Updated by Katja Luther 11 months ago
Actually the order comes from the feature tree.
Updated by Katja Luther 11 months ago
- Status changed from New to Resolved
- Assignee changed from Katja Luther to Andreas Müller
This should be fixed, please review.
Updated by Katja Luther 11 months ago
In most cases the localize method of TermRepresentation_L10n is used and this uses LocaleContext.getLanguages(); to get the local languages. To use the term language of the editor a new method which has a list of languages as parameter is implemented.
Updated by Andreas Müller 11 months ago
I tried to test on test/flora_mexico. i18n support is switched on as DB-preference with available languages English and Spanish.
In local preferences I selected as "Term"-language: Spanish.
There exist a translation for the feature "Common Name" in Spanish in the DB.
However, whereever I tried (in term editor, facts view, facts view context menu) the Spanish translation of the feature was never shown.
This blocks me from reviewing this ticket.
Note: I remember WGB reported a similar problem recently.
Updated by Andreas Müller 11 months ago
- Status changed from Resolved to Feedback
- Assignee changed from Andreas Müller to Katja Luther
Updated by Andreas Müller 11 months ago
- Related to bug #10305: Add DB preference for term language added
Updated by Katja Luther 11 months ago
- Status changed from Feedback to Resolved
- Assignee changed from Katja Luther to Andreas Müller
sorry, I missed to commit the comparator, this is done now.
Updated by Andreas Müller 10 months ago
- Tags set to mexico, i18n
- % Done changed from 50 to 100
Seems to work as expected now.
Updated by Andreas Müller 10 months ago
- Status changed from Resolved to Closed
- Target version changed from Release 5.44 to Release 5.38
Updated by Andreas Müller 10 months ago
- Assignee changed from Andreas Müller to Katja Luther