edit metadata

This commit is contained in:
2025-02-12 15:01:15 +01:00
parent 341b6ed46f
commit 1ce84ebc53
43 changed files with 214 additions and 207 deletions

View File

@@ -6,13 +6,13 @@ tags: [ "void", "locale" ]
Check the current locales:
```bash
```sh
locale -a
```
Add the languages you want by editing `/etc/default/libc-locales`, and uncommenting your choice:
```bash
```sh
#en_DK.UTF-8 UTF-8
#en_DK ISO-8859-1
en_GB.UTF-8 UTF-8
@@ -25,13 +25,14 @@ Now you can generate what you need for those languages.
However, instead of generating what you need, you're going to generate everything which needs updating:
```bash
sudo xbps-reconfigure glibc-locales
```sh
su root
xbps-reconfigure glibc-locales
```
Finally, select your chosen locale by placing it in `/etc/locale.conf`.
```bash
```sh
echo "LC_ALL=en_GB.UTF-8
LANG=en_GB.UTF-8
LANGUAGE=en_GB.UTF-8" > /etc/locale.conf
@@ -48,7 +49,7 @@ en_GB ISO-8859-1
Check your new locales are available:
```bash
```sh
locale -a
```