bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] JavaScript and JSON support status


From: Bruno Haible
Subject: Re: [bug-gettext] JavaScript and JSON support status
Date: Mon, 02 Jan 2017 01:25:51 +0100
User-agent: KMail/4.8.5 (Linux/3.8.0-44-generic; KDE/4.8.5; x86_64; ; )

Hi Daiki,

Thanks for explaining.

> > Here's a set of packages and use situations I could find. It does not give a
> > big picture to me. Can someone shed some light on anything of this, and
> > clarify?
> 
> I doubt it would be useful to support for particular Web frameworks;
> they still shoot up like mushrooms after a rain.

Still, I find the existing gettext documentation (regarding how to put in
place the programmer tools for JavaScript) so hard to grasp that I would like
to see 1 or 2 hello-javascript-* examples. One of them should preferrably
work with the gettext tools directly (no wrapper tools).

> On the other hand, it would be useful to add a minimal xgettext support
> for JSON, which is considered stable, through a generic mechanism like
> ITS:
> https://savannah.gnu.org/bugs/?48903#comment1

Yes, I agree: JSON and XML are so similar in spirit that a generic mechanism
would make sense here as well.

> > - gjs (command-line, but linked to Mozilla's JavaScript) [who uses that?]
> 
> gjs is extensively used by GNOME; you can see the list of such modules
> (search with "JavaScript"):
> https://git.gnome.org/browse/

Thanks again. I could have found out myself:

$ LC_ALL=C dpkg -l gjs
||/ Name                Version             Description
+++-===================-===================-======================================================
ii  gjs                 1.32.0-1ubuntu1     Mozilla-based javascript bindings 
for the GNOME platfo

Bruno




reply via email to

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