Project

General

Profile

Actions

Refactor #17263

closed

move javascript JED / i18n translations code to webpack

Added by Ohad Levy over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internationalization
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

currently its not possible to use the __ function within webpack code.
While its possible to use the function on a browser (which loads the function via the asset pipeline), its not possible to execute tests against code that uses that (as its not defined).

Another point to ensure is that new strings that are introduced within webpack ES6 code are extracted.


Related issues 3 (1 open2 closed)

Related to Foreman - Bug #18213: Strings are not extracted from webpack folders.ClosedShimon Shtein01/24/2017Actions
Related to Katello - Bug #25135: use i18n from webpackClosedAmir FeferActions
Related to Foreman - Task #23451: move all javascript/css assets to webpackNew04/30/2018Actions
Actions

Also available in: Atom PDF