Closed simonoakesepimorphics closed 3 years ago
Code looks great but the sort order looks to be by lexical form of the language code. Specifically for the FSA use case this will put
cy
beforeen
which feels backwards. While I guess this doesn't really matter in the CSV it would be more convenient to have the majority language first even there and for the order to be consistent with UI. For the UI is there not already a notion of a preferred/default language from a prior round of changes?
There's currently no preferred language concept, however there is one in the multilingual UI feature.
There's currently no preferred language concept, however there is one in the multilingual UI feature.
So does it make sense to use that preferred language if set and otherwise sort so en
comes first?
Add language sorting function for UI templates. Add CSV value language sorting.