From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: Re: Website translation Date: Mon, 26 Aug 2019 05:08:07 +0200 Message-ID: <20190826030807.ketacpthnbq35qmv@pelzflorian.localdomain> References: <87muhc8iqi.fsf@gnu.org> <20190718150836.kzf2tmbtng5l42ta@pelzflorian.localdomain> <87h87jffd7.fsf@elephly.net> <20190718202831.4vavgrmogrkpdote@pelzflorian.localdomain> <20190719122952.an6yr6azie4x3xjg@pelzflorian.localdomain> <20190726111155.qospxvrw7rnuwtok@pelzflorian.localdomain> <20190805130827.thp3zzw5ljo6g3h2@pelzflorian.localdomain> <20190807223310.yiwzodu7fwjhvrm6@pelzflorian.localdomain> <874l28lx7y.fsf@gnu.org> <20190825185831.6bcfajoe6hcep2eo@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37476) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i25Mb-0007IR-Hq for guix-devel@gnu.org; Sun, 25 Aug 2019 23:08:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i25MZ-0005f7-48 for guix-devel@gnu.org; Sun, 25 Aug 2019 23:08:13 -0400 Content-Disposition: inline In-Reply-To: <20190825185831.6bcfajoe6hcep2eo@pelzflorian.localdomain> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, sirgazil , matias_jose_seco@autoproduzioni.net, julien lepiller On Sun, Aug 25, 2019 at 08:58:31PM +0200, pelzflorian (Florian Pelz) wrot= e: > On Thu, Aug 22, 2019 at 11:13:53PM +0200, Ludovic Court=E8s wrote: > > It would be great to add the right steps to website/.guix.scm (in > > guix-artwork.git). > >=20 >=20 > Even though the attached patches allow building with .guix.scm, I > found that my previous code does not work correctly. The > deconstruction of the translation into an sexp happened at macro > expansion time before the evaluation phase when setlocale calls took > effect, so both or neither of index.en_US.html and index.de_DE.html > contained the German translation, depending on the system-wide locale > setting. >=20 I will change it so `haunt build` only builds the website only for the currently set locale. .guix.scm will call `haunt build` once for each lingua. Regards, Florian