Skip to content
Snippets Groups Projects
Commit 8e7f0e50 authored by Georg Ringer's avatar Georg Ringer Committed by Christian Kuhn
Browse files

[TASK] Provide list of available locales in Install Tool

The Site Configuration module currently allows to
pick a language locale from a list of available locales
of the system (via the "locale -a" command).

This patch moves this functionality into a reusable
method, which is now also utilized from within
the Install Tool when configuring the
`TYPO3_CONF_VARS[SYS][locale]` option. The description
of this "locale" option now holds all possible
locale variants.

If the "locale -a" execution fails, the output will
show an empty list.

Resolves: #61189
Releases: main, 12.4
Change-Id: Icf048be100e8e658fb14bb983d7bab5101bd1587
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84524


Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 958d61d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment