From: sirgazil <sirgazil@zoho.com>
To: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
Cc: guix-devel <guix-devel@gnu.org>,
matias_jose_seco <matias_jose_seco@autoproduzioni.net>
Subject: Re: Website translation
Date: Thu, 18 Jul 2019 12:06:10 -0500 [thread overview]
Message-ID: <16c060c5fed.e3d39cb136382.1841518778271467208@zoho.com> (raw)
In-Reply-To: <20190718150836.kzf2tmbtng5l42ta@pelzflorian.localdomain>
---- On Thu, 18 Jul 2019 10:08:36 -0500 pelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de> 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
next prev parent reply other threads:[~2019-07-18 17:06 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-06 12:50 Guix beyond 1.0: let’s have a roadmap! matias_jose_seco
2019-07-07 14:20 ` Ludovic Courtès
2019-07-07 16:57 ` Website translation (was: Re: Guix beyond 1.0: let’s have a roadmap!) pelzflorian (Florian Pelz)
2019-07-07 18:00 ` pelzflorian (Florian Pelz)
2019-07-07 22:28 ` Christopher Lemmer Webber
2019-07-11 15:15 ` Website translation Ludovic Courtès
2019-07-12 5:35 ` pelzflorian (Florian Pelz)
2019-07-14 14:12 ` Ludovic Courtès
2019-07-14 14:26 ` pelzflorian (Florian Pelz)
2019-07-15 12:33 ` Ludovic Courtès
2019-07-15 14:57 ` Julien Lepiller
2019-07-15 15:54 ` pelzflorian (Florian Pelz)
2019-07-17 21:16 ` Ludovic Courtès
2019-07-18 15:08 ` pelzflorian (Florian Pelz)
2019-07-18 16:59 ` Ricardo Wurmus
2019-07-18 20:28 ` pelzflorian (Florian Pelz)
2019-07-18 20:57 ` pelzflorian (Florian Pelz)
2019-07-19 12:29 ` pelzflorian (Florian Pelz)
2019-07-26 11:11 ` pelzflorian (Florian Pelz)
2019-07-26 11:23 ` pelzflorian (Florian Pelz)
2019-08-05 13:08 ` pelzflorian (Florian Pelz)
2019-08-07 22:33 ` pelzflorian (Florian Pelz)
2019-08-22 21:13 ` Ludovic Courtès
2019-08-23 6:03 ` pelzflorian (Florian Pelz)
2019-08-23 12:18 ` Ludovic Courtès
2019-08-23 13:54 ` pelzflorian (Florian Pelz)
2019-08-23 14:08 ` Jelle Licht
2019-08-23 20:47 ` pelzflorian (Florian Pelz)
2019-08-25 18:58 ` pelzflorian (Florian Pelz)
2019-08-26 3:08 ` pelzflorian (Florian Pelz)
2019-09-06 14:27 ` pelzflorian (Florian Pelz)
2019-07-18 17:06 ` sirgazil [this message]
2019-07-15 12:59 ` Ricardo Wurmus
2019-07-18 5:06 ` pelzflorian (Florian Pelz)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16c060c5fed.e3d39cb136382.1841518778271467208@zoho.com \
--to=sirgazil@zoho.com \
--cc=guix-devel@gnu.org \
--cc=matias_jose_seco@autoproduzioni.net \
--cc=pelzflorian@pelzflorian.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.