On Sun, Aug 25, 2019 at 08:58:31PM +0200, pelzflorian (Florian Pelz) wrote: > On Thu, Aug 22, 2019 at 11:13:53PM +0200, Ludovic Courtès wrote: > > It would be great to add the right steps to website/.guix.scm (in > > guix-artwork.git). > > > > 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. >
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