From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: Re: Haunt patches Date: Fri, 9 Feb 2018 14:39:49 +0100 Message-ID: <20180209133949.dvl2dry7oija5ayl@floriannotebook> References: <20171223125116.33r6kjnu2zze7f2o@floriannotebook> <20180208171243.dnligzfvwsxvc4l3@floriannotebook> <87a7wi2tey.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jx63vu4egv5f6ppl" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ek8uC-0004D8-SD for guix-devel@gnu.org; Fri, 09 Feb 2018 08:39:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ek8uB-0004eN-Vu for guix-devel@gnu.org; Fri, 09 Feb 2018 08:39:56 -0500 Content-Disposition: inline In-Reply-To: <87a7wi2tey.fsf@gnu.org> 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 =?iso-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org, davet@gnu.org --jx63vu4egv5f6ppl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 09, 2018 at 02:18:13PM +0100, Ludovic Court=C3=A8s wrote: > Heya, >=20 > "pelzflorian (Florian Pelz)" skribis: >=20 > > I wrote patches that introduce page variants for translations. I will > > send them right after this mail. If there are interested guix-devel > > readers, they can find them at > > > > https://pelzflorian.de/git/haunt/commit/?id=3Dac3e93fe35363fd0066cf93b9= 69c95c0fde7a25a > > https://pelzflorian.de/git/haunt/commit/?id=3Dca32925a58c8ec526653aff98= 25be2359bf358c3 > > https://pelzflorian.de/git/haunt/commit/?id=3D34f6b56bfe3a3059ced4be5e9= b768a6a3a93c671 > > > > A site can have a list of variants such as various languages, > > e.g. '("de" "en"). >=20 > Nice, looks like a great starting point! >=20 :) > 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. Regards, Florian --jx63vu4egv5f6ppl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEwRjGsqAMqXB4uw3y3T6EbElHBVsFAlp9pKUACgkQ3T6EbElH BVvFDw/+JmjPDTPf0UjSFVORsGlASmdit32cOF0WukuyeZm62KUf9If4quifBYRh q59UKhZjItL/eykWEaG/dGkE4Nf+z8lcnj+GwctCKrlKhahAm9u3WSX7dtl2W9aG aygzcOnTJ37Fja9k5WdSvWE1y+HWjzyiFhrVTaiFmRZ6tf57+ep8pI6/hSMFMYk5 hxZB9mCHmWsnpdgZBCSeYwlBdI46vxdhjkGAUAROxM8Go2IOHMookbIWApJN8NCC q8bcIuV/r6ErzpYVAIrIrocaRTUf2A0S5aDVhig0suekdAAJcWYf47Q+fuuBqz1w z/OC55TS5hRlilr9+LFMeR0p24PEnBmH9auTZ86ge/pPtYsq01FKZJ5CezmkykAL WvaJPBpor3sptiHetq+sG2XcKnMyA0surAtMMS0hU9ToAkJpswQN7zHkY6L9sokI MOn2x5bh2WiLtAMz49JOY8lI5qSNEHALL7bddVv9QShX/ZFbI4jGHadjN9uTYE6T sHjzDh3Geh8tbswaEZvWC/z8FqIh8HSxtOgp/OTM1lq1LCCtwbHSWLamnra9NGwG T1dhIg1tErS67qZWD2BJAzn1/wNm3o1Jg/PZpBlgbQq0U5uHIcNTyKlfei1d9F5B 8HxBKaM27jpf3knl3voBp+cHULj1prL2Md/6ugjMjUD20HWJAwE= =LBzu -----END PGP SIGNATURE----- --jx63vu4egv5f6ppl--