summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-09-10 19:35:17 +0100
committerLeah Rowe <leah@libreboot.org>2026-09-10 19:35:17 +0100
commit6050cdd1db645dd425e40c913ef1b23d43a125fe (patch)
tree292a8d968a02b27fb532371d546899f379bbdd4b /include
parent8c927b535d1a56c3c26d430c36926764d74219f2 (diff)
init.sh: much more thorough locale initialisation
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rw-r--r--include/init.sh20
1 files changed, 17 insertions, 3 deletions
diff --git a/include/init.sh b/include/init.sh
index 9d7bbd41..a0d44555 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -5,9 +5,23 @@
# Copyright (c) 2020-2026 Leah Rowe <leah@libreboot.org>
# Copyright (c) 2025 Alper Nebi Yasak <alpernebiyasak@gmail.com>
-export LANG=C.UTF-8
-export LC_COLLATE=C.UTF-8
-export LC_ALL=C.UTF-8
+utf_8="C.UTF-8"
+
+export LANG="$utf_8"
+export LANGUAGE="$utf_8"
+export LC_CTYPE="$utf_8"
+export LC_NUMERIC="$utf_8"
+export LC_TIME="$utf_8"
+export LC_COLLATE="$utf_8"
+export LC_MONETARY="$utf_8"
+export LC_MESSAGES="$utf_8"
+export LC_PAPER="$utf_8"
+export LC_NAME="$utf_8"
+export LC_ADDRESS="$utf_8"
+export LC_TELEPHONE="$utf_8"
+export LC_MEASUREMENT="$utf_8"
+export LC_IDENTIFICATION="$utf_8"
+export LC_ALL="$utf_8"
projectname="libreboot"
projectsite="https://libreboot.org/"