Task #69929
closedUnsorted list of ISO codes
100%
Description
Since TYPO3 7 is it now mandatory to set an ISO code for language records (see #61542). However the (localized) list of codes is "unsorted":
this makes it tedious to set.
Files
Updated by Mathias Brodala over 9 years ago
This is a more general issue with the special
feature of select
and also affects e.g. the list of tables in user group access management.
I already talked to Christian about this and right now there is no clean way to fix this since for proper sorting we need
- Perform translations as early as possible, otherwise sorting on fixed and translated values won't work
- Integrate some kind of locale-aware sorting, otherwise e.g. "Ä" will come after "z" as can be seen in the file list module (review pending)
Updated by Gerrit Code Review over 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43412
Updated by Xavier Perseguers over 9 years ago
Yes this is a general issue but we cannot sort it "automatically" at the TCA level, since the list is hardcoded in a given order and we cannot infer it was given that way by being "sorted" on English. Or we really have to introduce a an option to TCA to ask the form engine to sort the hardcoded list for us, depending on the actual language.
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43412
Updated by Xavier Perseguers over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a87e2b29b60eb4d0818c0a2fbfc676cc96f4352b.