Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • typo3typo3
  • Repository
Switch branch/tag
  • typo3
  • ..
  • 12.2
  • Feature-86913-AutomaticSupportForLang...
Find file BlameHistoryPermalink
  • Benni Mack's avatar
    [FEATURE] Automatic language key handling with regions (ISO 3166-1) · c0952199
    Benni Mack authored Jan 13, 2023
    TYPO3 can now handle language keys with a given region,
    such as "de-AT" without extending TYPO3's native language
    handling. When a "de-AT.locallang.xlf" file exists,
    it is used, but will fall back to "de.locallang.xlf" itself.
    
    The language is based on ISO 639-1,
    whereas the region should be used from ISO 3166-1.
    
    For backwards-compatibility, locales with underscore
    are also possible "de_AT".
    
    Resolves: #86913
    Releases: main
    Change-Id: I1bb97f7f36053c17bf919a92b3739e59b20d65c9
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77375
    
    
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
    Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    c0952199