From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Web site i18n with Haunt Date: Fri, 09 Feb 2018 18:02:22 +0100 Message-ID: <87y3k2xfj5.fsf_-_@gnu.org> References: <20171223125116.33r6kjnu2zze7f2o@floriannotebook> <20180208171243.dnligzfvwsxvc4l3@floriannotebook> <87a7wi2tey.fsf@gnu.org> <20180209133949.dvl2dry7oija5ayl@floriannotebook> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekC4G-0007EQ-Nj for guix-devel@gnu.org; Fri, 09 Feb 2018 12:02:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekC4C-00049p-Tc for guix-devel@gnu.org; Fri, 09 Feb 2018 12:02:32 -0500 In-Reply-To: <20180209133949.dvl2dry7oija5ayl@floriannotebook> (pelzflorian@pelzflorian.de's message of "Fri, 9 Feb 2018 14:39:49 +0100") 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: "pelzflorian (Florian Pelz)" Cc: guix-devel@gnu.org, davet@gnu.org "pelzflorian (Florian Pelz)" skribis: > On Fri, Feb 09, 2018 at 02:18:13PM +0100, Ludovic Court=C3=A8s wrote: [...] >> This does not address i18n in itself, right? Do you have examples of an >> i18n=E2=80=99d web site using this Haunt branch + gettext? >>=20 >> Thank you! >>=20 >> Ludo=E2=80=99. > > My Website uses it: > > https://pelzflorian.de/git/pelzfloriande-website/ > > I use xgettext, msginit, msgmerge and msgfmt tools from Gettext to > create the PO files. I now added a NOTES file on how to do so. > > I use the po files with my haunt.scm=E2=80=99s translate-msg function and= _ > and __ macros. Awesome. There were a couple of people interested in internationalizing our web site during the Guix workshop, so hopefully they can follow your lead and ping you if they need help! Ludo=E2=80=99.