[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Website translation
From: |
sirgazil |
Subject: |
Re: Website translation |
Date: |
Thu, 18 Jul 2019 12:06:10 -0500 |
User-agent: |
Zoho Mail |
---- On Thu, 18 Jul 2019 10:08:36 -0500 pelzflorian (Florian Pelz)
<address@hidden> wrote ----
> On Wed, Jul 17, 2019 at 11:16:21PM +0200, Ludovic Courtès wrote:
> > I think we now have an overview of the possibilities (including maybe
> > ‘itstool’ that Ricardo mentions.) I’d say that whoever is interested
> > should give it a try with what looks like the most promising approach
> > and report back with a prototype. :-)
> >
>
> I tried to make gettext usable (not yet implementing any discussed
> approach), but it is a little rough: I tried using msgctxts. Sadly
> Guile is missing a pgettext function, I think. Should I use Guile’s
> ffi? I think msgctxts could help with fragmentation, as I would
> prefer format strings with msgctxt over HTML-that-is-not-SHTML with
> itstool (I may misunderstand itstool though).
I faced the same problem. With the current gettext tools in Guile, I couldn't
find any way to solve ambiguities.
> sirgazil (Cc), long ago at
> <https://lists.gnu.org/archive/html/guile-user/2017-12/msg00071.html>
> you said you had written an interleave function for format strings.
> Do you have the code somewhere? I see in the commit log you are still
> actively working on the Guix website.
Yes, the function is here:
https://gitlab.com/sirgazil/guile-lab/blob/master/glab/i18n.scm
I use it for my own websites
http://sirgazil.bitbucket.io/
https://sirgazil.gitlab.io/golea/
But I use it to get things done.
> Also, I believe this discussion is actually
> <https://issues.guix.info/issue/26302>. Should I reference this
> thread there?
>
> Regards,
> Florian
- Re: Website translation, (continued)
- Re: Website translation, Julien Lepiller, 2019/07/15
- Re: Website translation, pelzflorian (Florian Pelz), 2019/07/15
- Re: Website translation, Ludovic Courtès, 2019/07/17
- Re: Website translation, pelzflorian (Florian Pelz), 2019/07/18
- Re: Website translation, Ricardo Wurmus, 2019/07/18
- Re: Website translation, pelzflorian (Florian Pelz), 2019/07/18
- Re: Website translation, pelzflorian (Florian Pelz), 2019/07/18
- Re: Website translation, pelzflorian (Florian Pelz), 2019/07/19
- Re: Website translation, pelzflorian (Florian Pelz), 2019/07/26
- Re: Website translation, pelzflorian (Florian Pelz), 2019/07/26
- Re: Website translation,
sirgazil <=
- Re: Website translation, Ricardo Wurmus, 2019/07/15
- Re: Website translation, pelzflorian (Florian Pelz), 2019/07/18
Re: Guix beyond 1.0: let’s have a roadmap!, P, 2019/07/09
Re: Guix beyond 1.0: let’s have a roadmap!, Ben Sturmfels, 2019/07/26