mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-16 13:21:01 +01:00
chore(i18n): keep only China-specific locale overrides
English stays the default (LANG=en_US.UTF-8). Drop the Chinese overrides for LC_TIME, LC_NUMERIC, LC_ADDRESS, LC_NAME, LC_TELEPHONE and LC_IDENTIFICATION: LC_NUMERIC matches en_US, the others are effectively unused, and LC_TIME forced Chinese date and weekday names. Keep zh_CN only where the en_US default is wrong for China: metric units, A4 paper and CNY.
This commit is contained in:
1 parent
8866a3bd92
commit
ccaed6beff
1 file changed
+3
-7
@@ -2,18 +2,14 @@
|
||||
# Set your time zone.
|
||||
time.timeZone = "Asia/Shanghai";
|
||||
|
||||
# Select internationalisation properties.
|
||||
# English is the default. Chinese overrides only the categories where the
|
||||
# en_US default is factually wrong for China (metric, A4, CNY); everything
|
||||
# else, including date/time names, stays English.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "zh_CN.UTF-8";
|
||||
LC_IDENTIFICATION = "zh_CN.UTF-8";
|
||||
LC_MEASUREMENT = "zh_CN.UTF-8";
|
||||
LC_MONETARY = "zh_CN.UTF-8";
|
||||
LC_NAME = "zh_CN.UTF-8";
|
||||
LC_NUMERIC = "zh_CN.UTF-8";
|
||||
LC_PAPER = "zh_CN.UTF-8";
|
||||
LC_TELEPHONE = "zh_CN.UTF-8";
|
||||
LC_TIME = "zh_CN.UTF-8";
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user