From 66b67ea67c28bf4c5951af6fc8d95f69cb8357d6 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 22 May 2024 12:18:32 +0900 Subject: [PATCH] docs: mention locale support --- docs/dzgui.adoc | 15 ++++++++++++++- docs/dzgui_dark.adoc | 15 ++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/docs/dzgui.adoc b/docs/dzgui.adoc index 1de0686..d14e606 100644 --- a/docs/dzgui.adoc +++ b/docs/dzgui.adoc @@ -46,11 +46,12 @@ curl -s "https://raw.githubusercontent.com/aclist/dztui/dzgui/install.sh" | bash Follow the instructions at https://github.com/lelgenio/dzgui-nix to ingest the package and dependencies into your system using flakes. -Manual method +**Manual method** ``` git clone https://github.com/aclist/dztui.git chmod +x dzgui.sh +./dzgui.sh ``` ==== Step 2: update the vm.max_map_count value @@ -284,6 +285,18 @@ $HOME/.config/dztui/dztuirc.old ``` +=== Locale support + +For internationalization purposes, DZGUI will inherit the default locale setting on the system when displaying numbers. This is used for thousands separators in long numbers and decimal separators in fractional numbers. + +If you wish to use a specific regional numbering preference while retaining a different base system language (e.g., English language with German-style numbering), pass the desired locale as a variable before launching DZGUI: + +``` +LC_ALL=de_DE.UTF-8 ./dzgui.sh +``` + +If you intend to use this frequently, you could wrap the above in a script or alias. + == Basic usage Select from among the <