[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [bug #52788] Please provide support for the golang
From: |
Guido Flohr |
Subject: |
[bug-gettext] [bug #52788] Please provide support for the golang |
Date: |
Tue, 23 Jan 2018 16:59:48 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0 |
Follow-up Comment #1, bug #52788 (project gettext):
A couple of remarks.
Being able to reorder the interpolated arguments is crucial for gettext
because other languages can have different word orders. See
https://golang.org/pkg/fmt/ and search for "Explicit argument indexes:". That
differs from printf format strings for C.
Go does not have a default implementation of a gettext runtime. A quick
search produced https://github.com/gosexy/gettext,
https://github.com/leonelquinteros/gotext,
https://github.com/snapcore/go-gettext, https://github.com/ojii/gettext.go,
and probably more. That may make it hard to agree on a set of default
keywords and flags for golang. But I haven't compared the APIs. If they are
identical, this may be a non-issue.
That's not a thumbs-down on the suggestion but rather a hint that the
implementation will probably be more than a quick copy and paste modification
of the C backend.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52788>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/