Refactor #17263
closed
move javascript JED / i18n translations code to webpack
Added by Ohad Levy about 8 years ago.
Updated about 6 years ago.
Category:
Internationalization
|
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.
- Category set to Internationalization
- Related to Bug #18213: Strings are not extracted from webpack folders. added
- Status changed from New to Ready For Testing
- Assignee set to Amir Fefer
- Pull request https://github.com/theforeman/foreman/pull/5342 added
- Target version set to 1.20.0
- Fixed in Releases 1.20.0 added
- Status changed from Ready For Testing to Closed
- Related to Bug #25135: use i18n from webpack added
- Related to Task #23451: move all javascript/css assets to webpack added
Also available in: Atom
PDF