[wip] Improved support for I18n / Translations in Webpack config


https://community.openproject.org/work_packages/17241
https://community.openproject.org/work_packages/14679
Mixed double and single quotes.<br>'require' is not defined.