Task #69929
closed
Unsorted list of ISO codes
Added by Xavier Perseguers almost 9 years ago.
Updated almost 6 years ago.
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
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)
- 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
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.
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF