1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-29 13:52:03 +01:00

Merge pull request #114 from aclist/release/docs

docs: mention locale support
This commit is contained in:
aclist 2024-05-22 12:20:24 +09:00 committed by GitHub
commit f7cb8381d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 28 additions and 2 deletions

View file

@ -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 Follow the instructions at https://github.com/lelgenio/dzgui-nix to ingest the package and dependencies
into your system using flakes. into your system using flakes.
Manual method **Manual method**
``` ```
git clone https://github.com/aclist/dztui.git git clone https://github.com/aclist/dztui.git
chmod +x dzgui.sh chmod +x dzgui.sh
./dzgui.sh
``` ```
==== Step 2: update the vm.max_map_count value ==== 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 == Basic usage
Select from among the <<Menu contexts and options>> below. Select from among the <<Menu contexts and options>> below.

View file

@ -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 Follow the instructions at https://github.com/lelgenio/dzgui-nix to ingest the package and dependencies
into your system using flakes. into your system using flakes.
Manual method **Manual method**
``` ```
git clone https://github.com/aclist/dztui.git git clone https://github.com/aclist/dztui.git
chmod +x dzgui.sh chmod +x dzgui.sh
./dzgui.sh
``` ```
==== Step 2: update the vm.max_map_count value ==== 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 == Basic usage
Select from among the <<Menu contexts and options>> below. Select from among the <<Menu contexts and options>> below.