[TASK] Use official translations for ISO 639-1/2 languages
Previously, TYPO3 manually had lists of labels for languages (primarily used to select a user's language for the TYPO3 Backend interface). Similar to the Country API, the list of official languages are now fetched from a debian repository, which provides a list of official language keys and their labels so translators do not need to update this static list, and developers do not need to add a label when a new language is added. A list of two-letter code language keys in addition to three-letter code language keys are now available and can slowly be used to be supported instead of the TYPO3 core list. Previous "pseudo-classes" such as IsoCodeService and their respective XLF files are removed. Code in be_users.lang itemsProcFunc and SetupModuleController can then be simplified. Resolves: #100659 Releases: main Change-Id: I26dcf24d496856e5a2a2c9c0b27193be724d7df1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77503 Reviewed-by:Markus Klein <markus.klein@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Scripts/updateIsoDatabase.php 56 additions, 1 deletionBuild/Scripts/updateIsoDatabase.php
- typo3/sysext/core/Classes/Localization/Locales.php 6 additions, 4 deletionstypo3/sysext/core/Classes/Localization/Locales.php
- typo3/sysext/core/Classes/Localization/OfficialLanguages.php 1696 additions, 0 deletionstypo3/sysext/core/Classes/Localization/OfficialLanguages.php
- typo3/sysext/core/Classes/Localization/TcaSystemLanguageCollector.php 9 additions, 17 deletions.../core/Classes/Localization/TcaSystemLanguageCollector.php
- typo3/sysext/core/Classes/Service/IsoCodeService.php 0 additions, 255 deletionstypo3/sysext/core/Classes/Service/IsoCodeService.php
- typo3/sysext/core/Configuration/TCA/be_users.php 0 additions, 1 deletiontypo3/sysext/core/Configuration/TCA/be_users.php
- typo3/sysext/core/Resources/Private/Language/Iso/af.languages.xlf 1219 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/af.languages.xlf
- typo3/sysext/core/Resources/Private/Language/Iso/ar.languages.xlf 1183 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/ar.languages.xlf
- typo3/sysext/core/Resources/Private/Language/Iso/bg.languages.xlf 1039 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/bg.languages.xlf
- typo3/sysext/core/Resources/Private/Language/Iso/bs.languages.xlf 663 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/bs.languages.xlf
- typo3/sysext/core/Resources/Private/Language/Iso/ca.languages.xlf 1955 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/ca.languages.xlf
- typo3/sysext/core/Resources/Private/Language/Iso/ch.languages.xlf 1943 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/ch.languages.xlf
- typo3/sysext/core/Resources/Private/Language/Iso/cs.languages.xlf 1951 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/cs.languages.xlf
- typo3/sysext/core/Resources/Private/Language/Iso/cy.languages.xlf 1171 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/cy.languages.xlf
- typo3/sysext/core/Resources/Private/Language/Iso/da.languages.xlf 1951 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/da.languages.xlf
- typo3/sysext/core/Resources/Private/Language/Iso/de.languages.xlf 1955 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/de.languages.xlf
- typo3/sysext/core/Resources/Private/Language/Iso/el.languages.xlf 711 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/el.languages.xlf
- typo3/sysext/core/Resources/Private/Language/Iso/eo.languages.xlf 1947 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/eo.languages.xlf
- typo3/sysext/core/Resources/Private/Language/Iso/es.languages.xlf 1955 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/es.languages.xlf
- typo3/sysext/core/Resources/Private/Language/Iso/et.languages.xlf 1955 additions, 0 deletions...sext/core/Resources/Private/Language/Iso/et.languages.xlf
Please register or sign in to comment