From 7cfc695198d5e256056c0c4715809a82a1bd37a5 Mon Sep 17 00:00:00 2001 From: grtcdr Date: Sun, 24 Nov 2024 17:55:00 +0100 Subject: [PATCH] config/locales: Mention that section is specific to glibc Closes: #821 Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com> --- src/config/locales.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/config/locales.md b/src/config/locales.md index b116fa55e..fa21de1d0 100644 --- a/src/config/locales.md +++ b/src/config/locales.md @@ -1,6 +1,11 @@ # Locales and Translations -For a list of currently enabled locales, run +`glibc` supports setting the system locale whereas `musl` does not; both support +setting the language for applications. + +## Listing locales + +For a list of currently enabled locales, run: ``` $ locale -a @@ -12,7 +17,7 @@ To enable a certain locale, un-comment or add the relevant lines in `/etc/default/libc-locales` and [force-reconfigure](../xbps/index.md) the `glibc-locales` package. -## Setting the system locale +## Setting the system language Set `LANG=xxxx` in `/etc/locale.conf`.