[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Website translation
From: |
Ludovic Courtès |
Subject: |
Re: Website translation |
Date: |
Thu, 11 Jul 2019 17:15:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
Christopher Lemmer Webber <address@hidden> skribis:
> pelzflorian (Florian Pelz) writes:
>
>> On Sun, Jul 07, 2019 at 04:20:59PM +0200, Ludovic Courtès wrote:
>>> Thanks for bringing this up. I’m very much convinced this is an
>>> important task, and I’m happy there’s already a team of dedicated
>>> volunteers who’ve worked hard translating the manual and messages!
>>>
>>
>> Yes. :)
>>
>>> The next obvious step is to translate the web site. There were open
>>> questions as to how to do it, but I think Julien and Florian had more or
>>> less found a way forward, so I hope we can work on it soonish.
>>>
>>
>> The method I use is the _ macro at
>> <https://pelzflorian.de/git/pelzfloriande-website/tree/haunt.scm>
>> (Guix sensibly would call such a macro G_). It simply calls setlocale
>> once for each string that needs to be translated.
>
> Maybe see also the conversation about a i18n quasiquote here:
>
> https://lists.gnu.org/archive/html/guile-user/2017-12/msg00050.html
Ah yes, I believe the issue you raised in that message (“lego
translations”) is not addressed by Florian’s approach.
However, the #_ form you propose doesn’t quite work either because
xgettext in its current form wouldn’t be able to extract it.
sirgazil proposed a solution that’s similar to format strings to address
that:
https://lists.gnu.org/archive/html/guile-user/2017-12/msg00071.html
Worth a try!
Thanks,
Ludo’.
- Re: Guix beyond 1.0: let’s have a roadmap!, (continued)
- Re: Guix beyond 1.0: let’s have a roadmap!, zimoun, 2019/07/01
- Re: Guix beyond 1.0: let’s have a roadmap!, matias_jose_seco, 2019/07/06
- Re: Guix beyond 1.0: let’s have a roadmap!, Ludovic Courtès, 2019/07/07
- Website translation (was: Re: Guix beyond 1.0: let’s have a roadmap!), pelzflorian (Florian Pelz), 2019/07/07
- Re: Website translation (was: Re: Guix beyond 1.0: let’s have a roadmap!), pelzflorian (Florian Pelz), 2019/07/07
- Re: Website translation (was: Re: Guix beyond 1.0: let’s have a roadmap!), Christopher Lemmer Webber, 2019/07/07
- Re: Website translation,
Ludovic Courtès <=
- Re: Website translation, pelzflorian (Florian Pelz), 2019/07/12
- Re: Website translation, Ludovic Courtès, 2019/07/14
- Re: Website translation, pelzflorian (Florian Pelz), 2019/07/14
- Re: Website translation, Ludovic Courtès, 2019/07/15
- 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