bug-gettext
[Top][All Lists]
Advanced

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

Re: [bug-gettext] Extracting from JavaScript files ignores new ES6 templ


From: Bruno Haible
Subject: Re: [bug-gettext] Extracting from JavaScript files ignores new ES6 template literals
Date: Sun, 19 May 2019 23:41:47 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; )

Francesco Novy wrote in
<https://lists.gnu.org/archive/html/bug-gettext/2017-05/msg00027.html>:
> We are using gettext to extract strings from our JavaScript project. In
> that project, we use ES6, and especially it's new features "Template
> Literals" This means that you can specifiy strings like this:
> 
> var string = `This is a string
> and it can even be multiline!`;
> 
> However, it seems that gettext doesn't pick these up.
> Is there any chance or option to make this work?

This is fixed in gettext 0.20.1.

Thanks for the report.

Bruno




reply via email to

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