Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, see #852
PR opened for discussion about what we could add for locales.
I added the support for setting the locale in OS Customization (and automatic detection of it based on the timezone, for GB, USA, and France).
The locales list (locales.txt) comes from:
on Raspberry Pi OS.
The ui renders like this:
The
firstuse.sh
scripts is modified to uselocalectl set-locale LANG=$LOCALE LC_ALL=$LOCALE LANGUAGE=$LOCALE
on first boot.(
localectl
uselocale-gen
and update the/etc/default/locale
fileThe user_data cloudinit yaml has the new entry locale (see https://cloudinit.readthedocs.io/en/latest/reference/modules.html#locale):
Open questions:
LOCALECODE [(Human Readable)]
something you would like to keep ?Thanks to every contributor of this great tool :)