From 01607d878af161856abd4f0c9ad45a25a551e2e0 Mon Sep 17 00:00:00 2001
From: Teo Mrnjavac <teo@kde.org>
Date: Tue, 26 Jul 2016 17:39:32 +0200
Subject: [PATCH] Write more LC variables in localecfg.

---
 src/modules/localecfg/main.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/modules/localecfg/main.py b/src/modules/localecfg/main.py
index 0de0e93fc5..95d15e92ca 100644
--- a/src/modules/localecfg/main.py
+++ b/src/modules/localecfg/main.py
@@ -5,6 +5,7 @@
 #
 #   Copyright 2014, Anke Boersma <demm@kaosx.us>
 #   Copyright 2015, Philip Müller <philm@manjaro.org>
+#   Copyright 2016, Teo Mrnjavac <teo@kde.org>
 #
 #   Calamares is free software: you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
@@ -68,6 +69,15 @@ def run():
     with open(locale_conf_path, "w") as locale_conf:
         locale_split = locale.split(' ')[0]
         locale_conf.write("LANG={!s}\n".format(locale_split))
+        locale_conf.write("LC_NUMERIC={!s}\n".format(locale_split))
+        locale_conf.write("LC_TIME={!s}\n".format(locale_split))
+        locale_conf.write("LC_MONETARY={!s}\n".format(locale_split))
+        locale_conf.write("LC_PAPER={!s}\n".format(locale_split))
+        locale_conf.write("LC_NAME={!s}\n".format(locale_split))
+        locale_conf.write("LC_ADDRESS={!s}\n".format(locale_split))
+        locale_conf.write("LC_TELEPHONE={!s}\n".format(locale_split))
+        locale_conf.write("LC_MEASUREMENT={!s}\n".format(locale_split))
+        locale_conf.write("LC_IDENTIFICATION={!s}\n".format(locale_split))
 
     # write /etc/default/locale if /etc/default exists and is a dir
     etc_default_path = os.path.join(install_path, "etc/default")
-- 
GitLab