Project

General

Profile

Actions

Task #69929

closed

Unsorted list of ISO codes

Added by Xavier Perseguers over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-09-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

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

unsorted.png (63.2 KB) unsorted.png Xavier Perseguers, 2015-09-18 09:43

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #61542: Add two-digit ISO 639-1 keys to sys_languageClosedBenni Mack2014-09-11

Actions
Actions #1

Updated by Mathias Brodala over 8 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

  1. Perform translations as early as possible, otherwise sorting on fixed and translated values won't work
  2. 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)
Actions #2

Updated by Gerrit Code Review over 8 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

Actions #3

Updated by Xavier Perseguers over 8 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.

Actions #4

Updated by Gerrit Code Review over 8 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

Actions #5

Updated by Xavier Perseguers over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF