From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: French info pages? Date: Sun, 19 Aug 2018 19:25:26 -0400 Message-ID: <876006lz15.fsf@gmail.com> References: <87r2kyq5u5.fsf@gmail.com> <87828a92b9c16c70a765ad5b40c8951b@lepiller.eu> <87k1qqvmva.fsf@gmail.com> <911e50c39904a498357edace36c8a7f8@lepiller.eu> <87h8luvmb2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1frX4f-0008NL-9u for help-guix@gnu.org; Sun, 19 Aug 2018 19:25:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1frX4b-0000Sn-Br for help-guix@gnu.org; Sun, 19 Aug 2018 19:25:33 -0400 Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]:41278) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1frX4b-0000Sh-77 for help-guix@gnu.org; Sun, 19 Aug 2018 19:25:29 -0400 Received: by mail-io0-x236.google.com with SMTP id q4-v6so11145279iob.8 for ; Sun, 19 Aug 2018 16:25:29 -0700 (PDT) In-Reply-To: <87h8luvmb2.fsf@gmail.com> (Pierre Neidhardt's message of "Fri, 22 Jun 2018 18:05:37 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: help-guix@gnu.org Hi Pierre, Pierre Neidhardt writes: > Hmm... Locales are defined at the system level. > I don't know if traditional unices can define locale for individual user profiles. > I think desktop environments handle that themselves. > Maybe Guix could introduce an environment variable, e.g. GUIX_USER_LOCALE. > Guix can then inspect the content of this variable when installing info pages and link appropriately. > > What do you think? The idea is good, but the implementation would need to be thought in a way where we wouldn't introduce impurities in the functional model of Guix by doing environment variable lookups. I'm not sure at this time how it could be done cleanly. Maxim