bugGNU gettext - Bugs: bug #46111, ECMAScript templates are not...


You are not allowed to post comments on this tracker with your current authentication level.

bug #46111: ECMAScript templates are not extracted

Submitter:  None
Submitted:  Sat 03 Oct 2015 01:29:25 PM UTC
Category:  JavaScript Severity:  3 - Normal
Item Group:  None Status:  Duplicate
Privacy:  Public Assigned to:  ueno
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


Mon 15 May 2017 09:13:20 AM UTC, comment #2: 

Closing this as duplicate of:
where we seem to have practical use-cases.

Daiki Ueno <ueno>
Project Administrator
Tue 19 Jan 2016 02:56:03 PM UTC, comment #1: 

Any updates on this?

Template strings are more and more common, and the lack of support from gettext is crippling the way people write code.

Sat 03 Oct 2015 01:29:25 PM UTC, original submission:  

ECMAScript6 introduced templates see https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/template_strings

These allow strings of the form `string ${var}`

These are currently not extracted by xgettext. With https://www.gnu.org/software/gettext/manual/html_node/JavaScript.html not including `abc` as a valid string syntax.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ueno (Posted a comment)
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by klemmster

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-05-15 haible Assigned toNone ueno
    2017-05-15 ueno StatusNone Duplicate
        Open/ClosedOpen Closed
    2016-11-27 haible CategoryNone JavaScript
    2016-03-17 klemmster Carbon-Copy- Added klemmster

    Back to the top

    Powered by Savane 3.9