Project

General

Profile

Refactor #17263

move javascript JED / i18n translations code to webpack

Added by Ohad Levy about 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internationalization
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
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

Related to Foreman - Bug #18213: Strings are not extracted from webpack folders.Closed2017-01-24
Related to Katello - Bug #25135: use i18n from webpackClosed
Related to Foreman - Task #23451: move all javascript/css assets to webpackNew2018-04-30

Associated revisions

Revision 60e4da4c (diff)
Added by Amir Fefer about 1 year ago

Fixes #17263 - move jed (i18n) to webpack

History

#1 Updated by Dominic Cleal about 3 years ago

  • Category set to Internationalization

#2 Updated by Tomer Brisker almost 3 years ago

  • Related to Bug #18213: Strings are not extracted from webpack folders. added

#3 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Amir Fefer
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5342 added

#4 Updated by Ohad Levy about 1 year ago

  • Target version set to 1.20.0
  • Fixed in Releases 1.20.0 added

#5 Updated by Amir Fefer about 1 year ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Justin Sherrill about 1 year ago

  • Related to Bug #25135: use i18n from webpack added

#7 Updated by Ohad Levy 8 months ago

  • Related to Task #23451: move all javascript/css assets to webpack added

Also available in: Atom PDF