From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "pelzflorian (Florian Pelz)" Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Re: Website translations with Haunt Date: Fri, 15 Dec 2017 12:39:22 +0100 Message-ID: <20171215113922.4zaibprjztnxmlna@floriannotebook> References: <20171209180619.GA10254@floriannotebook.localdomain> <87y3m5sm97.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="64m4aqpmgo4rmjal" X-Trace: blaine.gmane.org 1513337971 10367 195.159.176.226 (15 Dec 2017 11:39:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2017 11:39:31 +0000 (UTC) User-Agent: NeoMutt/20171208 Cc: Ludovic =?iso-8859-1?Q?Court=E8s?= , Guile User , guile-devel To: "Thompson, David" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Dec 15 12:39:21 2017 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePoKm-00023b-85 for guile-devel@m.gmane.org; Fri, 15 Dec 2017 12:39:20 +0100 Original-Received: from localhost ([::1]:45816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePoKt-0001To-Eq for guile-devel@m.gmane.org; Fri, 15 Dec 2017 06:39:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePoKn-0001So-Jd for guile-devel@gnu.org; Fri, 15 Dec 2017 06:39:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePoKj-00005V-Lh for guile-devel@gnu.org; Fri, 15 Dec 2017 06:39:21 -0500 Original-Received: from pelzflorian.de ([5.45.111.108]:42406 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ePoKj-0008WD-6m; Fri, 15 Dec 2017 06:39:17 -0500 Original-Received: from floriannotebook (eduroam-ipv4-4-0199.triple-a.uni-kl.de [131.246.176.199]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 597B036001B; Fri, 15 Dec 2017 12:39:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1513337955; bh=HknoAeNuAZZIQhdbIydo71PipPaVVSUUYARX4Q/ps28=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=jdMNysQLxI5iY12hHIzAkJ89EmlzVmOGhuhO0bdA6B+9jwHWfiiJGrTBjY4RyVL4N K7eakgs+YuTr2Mlj0ss6hUbCU40KvNcKMklthHHLd9stV100jKURUBenWgMyt5AUyf Oohn1x1ILWdZiTWmIJimfoAPSnwGjfcrft1BSxIg= Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.45.111.108 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:19434 gmane.lisp.guile.user:14364 Archived-At: --64m4aqpmgo4rmjal Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 14, 2017 at 08:23:50AM -0500, Thompson, David wrote: > Hey everyone! >=20 > On Thu, Dec 14, 2017 at 4:16 AM, Ludovic Court=C3=A8s wrot= e: > > Hi! > > > > "pelzflorian (Florian Pelz)" skribis: > > > >> I want to ask for your thoughts on my new solution since translations > >> are probably important to many Haunt users. In particular, I believe > >> there was some discussion on Website translation on the Guile or Guix > >> lists as well. > > > > I=E2=80=99d love those sites to support translation! If we could integ= rate your > > solution as a Haunt extension or something, that=E2=80=99d be great. >=20 > I agree! Thanks to everyone that is working on this. I would love to > include translation support in Haunt but I'm completely clueless about > the right way to do things, so I'd be happy to receive some patches > that implement it nicely. :) >=20 > Thanks again! >=20 > - Dave >=20 I would be really glad to see this upstream. I will take a look at how to integrate ffi-helper in the build system and then send patches with my approach, unless you dislike the syntax. Currently there is a need to always pass the current-lingua to all procedures because that is what my gettext syntax (_ "Hello") reads the locale from. I=E2=80=99m not sure, maybe this is the right approach to explicitly pass it to each procedure, but maybe something like how G-expressions wrap the store is better, but I have not fully understood or even really looked at G-expressions yet. We can discuss the syntax later though when I have working patches. Regards, Florian --64m4aqpmgo4rmjal Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEwRjGsqAMqXB4uw3y3T6EbElHBVsFAloztGUACgkQ3T6EbElH BVtaTQ//b1Q3TiSFQ7CUy6//24lJ6Yd2ROma4I7EF9i09S3efLtNYniIETgG2uxN 6J3vbgCK6HGGSPdt5QaQbtQAYL84hekfFe0hOl7As2FvU+TKUGGHLuKF11OqH8Ha ZGQTHPWpkzjfmODUc7CFXhQm1E6cbQKeJrAFbaRC4kqAx1friiu2wclFDlGgN+Se ZusfeWU2OYbYnRPPp2Wn6Osjii7UAeZ5AB1A68+aVtZTF+fHrBj+X9EDrnCgIZA3 IdELKJlK/j5Ha82v5Ao1VP20qVhV+qlX5+Uxm9WdE194UJGPXk1TEFbgZR0Mt5CE c4GawVdhJBhkL0HDuDDY7zyILCcxtp7fSdT8gRr33FteitEXFrDR3MUC9svjJCvP mrjfvgiQy2AgOsU52TusH6R6F91sBR9fPF+IK2ieGNcKQd4UfOXFEyZjp87+fc2F DFmsR7Nz1mtZ5e/BR5aWdJn6Xt1+gy/NEvWkbXIPfqk4DkVJBF1xAw1sv5PLYeub /AAFq//zo+wPzK9j3YJ/w7g+3jIrkGa3OiAwKH8tY5oXqlr8uRg2zNTXcp+pUla7 x+DsDRiXcLRZqrR29+ocCfzc3z0z31ZrUeUEyqKmeQmqS4DyfILBx/wE1vaDUCU+ HrrmeMo03fdHvEKdGaqzLSMqpzHeKiOcFSP188PdykaVnu2tGMc= =vQmA -----END PGP SIGNATURE----- --64m4aqpmgo4rmjal--