Hello, Christopher Lemmer Webber <cweb...@dustycloud.org> 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’.