From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4IVZDrRqMWP7CQAAbAwnHQ (envelope-from ) for ; Mon, 26 Sep 2022 11:02:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mIR2DbRqMWODhQAAG6o9tA (envelope-from ) for ; Mon, 26 Sep 2022 11:02:44 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D4F3D1761C for ; Mon, 26 Sep 2022 11:02:43 +0200 (CEST) Received: from localhost ([::1]:55766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ock0h-0002pR-1O for larch@yhetil.org; Mon, 26 Sep 2022 05:02:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ock0Q-0002p2-Gl for help-guix@gnu.org; Mon, 26 Sep 2022 05:02:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54000) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ock0Q-00046a-3p; Mon, 26 Sep 2022 05:02:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=s8Kf6xirq7cLMM6+qOvDVPTEMAftc/4AmOU3lQz/9aM=; b=Ie1TMx10Y3lWOpJgO9jg rwC9GK2XgHZGRqsArBGdjVfGhldTC3fUdkYkiQvIwb142I3SDB5odOlOlD6UEHz0NvT/3a/ygvmpM 4pRQTsc0sgONcmnQmscTVvR/hKYkto+/dvVcwlNjPYn0uhl4Q4jcETVVTE1uARYGWMXsDaCh6B2L6 haMPUVYoLhEy3uKAzfmwLeC6Tu1IBmQmb6VvSbCj2MX7bNrfy11QoAdGImPiKaCrLUlp4cxLvB7ch I7QPmq9VtLnHinOmFAnJhzNlbF2U3ixa3GYu2Qeu8Z5LREi77z2JZVz9i9kNTLePmsAeWyTpe3rtM 2ubRypORw7frvw==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=59176 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ock0P-0001FI-Lv; Mon, 26 Sep 2022 05:02:25 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Fredrik Salomonsson Cc: help-guix@gnu.org Subject: Re: Combine locales References: <874jwwny6n.fsf@posteo.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 5 =?utf-8?Q?Vend=C3=A9miaire?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Cheval X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 26 Sep 2022 11:02:23 +0200 In-Reply-To: <874jwwny6n.fsf@posteo.net> (Fredrik Salomonsson's message of "Sat, 24 Sep 2022 23:35:12 +0000") Message-ID: <87pmfipkyo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664182963; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=s8Kf6xirq7cLMM6+qOvDVPTEMAftc/4AmOU3lQz/9aM=; b=b4OWeJD8E8Ld+jcmAWhK3lpHHPZ/SSVuYEJCdC83uNGRqM6PELMjw2B7bB7Jc8NdvYv9Od cusIuLbSrYhsia14SOmX9dlre7QYSfZWfeTr3rrg9Hd+O9TZhG9towEzYbxHWwAXyRa+Hn nTQbEUw/Pv7QEo/jv7+uw9ggq9IfbEa2srls75TJuT5dg99RtFne0CvoMWJisJza66iR+x iqRrv769KqRafOiQHObBFv/OvPimQhDtLkdRYXDNr5mIsj55SLTIVwyjT5y4/bgf/zIgSe Ec/TI9r4EIRxZvvGhOHLQrbxAwnBsP9iy6xNvVNgph6pq63bORWnXVppWxq8QA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664182963; a=rsa-sha256; cv=none; b=nRl7kEtlkR9quRYyTcwyQEvmpMJvG/4bi42E2Fv8ObB5PFtFTXr/5ck6iCS6iH7segxStd ebP5Xx7U02yX/m8pgSjgflgc1KKkgTneE1kGwsHwtW7pL1XP8YNA25r3izEoEeiTzKqC6v UKuby3/SYijP2KFWnk1WQ+lA4av9ZFyqPcrS7/5Kf4EhQJkVgH9cp0WJFY0RgulyXwH4zU Mba9q5MxWV+FEnQFfk4HiFrDRCtbV96sN9eQzlWLCW92h7v6J+zqqLg9IxympTotON67Hk UaWP3kcsVeCRKR5mxL12w4fGI1g934Cia3L44a/TVPC6YbS+gDcvvvntByk0sA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=Ie1TMx10; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=Ie1TMx10; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D4F3D1761C X-Spam-Score: -3.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZRy73iZ2ACu1 Hi, Fredrik Salomonsson skribis: > 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: > ---=E2=9C=80-------------------------------------------------------------= --------------- > LANG=3Den_US.UTF-8 > LC_TIME=3Dsv_SE.UTF-8 > -------------------------------------------------------------------------= ------- I think we=E2=80=99re missing an easy way to configure this. One way to do= it system-wide would be (untested): (simple-service 'locale-setup session-environment-service-type '(("LANG" . "en_US.UTF-8") ("LC_CTIME" . "sv_SE.UTF-8"))) That way, all sessions would get these environment variables by default. HTH! Ludo=E2=80=99.