unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Combine locales
@ 2022-09-24 23:35 Fredrik Salomonsson
  2022-09-25 10:38 ` Sergiu Ivanov
  2022-09-26  9:02 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Fredrik Salomonsson @ 2022-09-24 23:35 UTC (permalink / raw)
  To: help-guix

Hi all,

I'm slowly transition my computers to running Guix System instead Guix
on a foreign distro. Starting with my laptop, as that is not that
critical right now.

One thing I cannot figure out is how to setup the operating-system to
use English as the language but use Swedish for the date format. Similar
to what is described in Locale Names[0] in the libc manual.

I.e. on my foreign distro I have /etc/locale.conf define:
---✀----------------------------------------------------------------------------
LANG=en_US.UTF-8
LC_TIME=sv_SE.UTF-8
--------------------------------------------------------------------------------

In my operating-system configuration system I have:
---✀----------------------------------------------------------------------------
(operating-system
 ;;…
 (locale "en_US.utf8")
 (locale-definitions
  (list
   (locale-definition (name "en_US.utf8") (source "en_US") (charset "UTF-8"))
   (locale-definition (name "sv_SE.utf8") (source "sv_SE") (charset "UTF-8"))))
 ;;…
)
--------------------------------------------------------------------------------

I have checked the guix manual, but cannot find any information about
this. Is it not supported?

[0] https://www.gnu.org/software/libc/manual/html_node/Locale-Names.html

-- 
s/Fred[re]+i[ck]+/Fredrik/g


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-26  9:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-24 23:35 Combine locales Fredrik Salomonsson
2022-09-25 10:38 ` Sergiu Ivanov
2022-09-26  2:38   ` Fredrik Salomonsson
2022-09-26  9:02 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).