[Top][All Lists]

[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 
 > <> 
 > 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:

I use it for my own websites

But I use it to get things done.

 > Also, I believe this discussion is actually 
 > <>.  Should I reference this 
 > thread there? 
 > Regards, 
 > Florian

reply via email to

[Prev in Thread] Current Thread [Next in Thread]