Closed felepp closed 5 years ago
Is there any progress on it?
Will take a look, but I'm a bit overloaded for now. If you want to take a look a it we'll gladly accept a PR.
On it, instead of netflix night, tonight will be bugfix night 😄
Of found it, issue was same as #165 💀 Long story short:
es5
(😱 )es5
, translations imports like import enUS from 'some.json';
fails silently, and needs to be changed to import * as enUS from 'some.json';
I went for the quick fix this time, but it seems I need to add proper es6 module handling for Electron to the (long) list of things that needs to be improved with Electron.
I'm submitting a...
Current behavior
When selecting the electron option during
ngx new
the localization is not working out of the box, similar to issue https://github.com/ngx-rocket/generator-ngx-rocket/issues/165. Although the language selector changes the language in localStorage no strings are replaced. The app name is displayed as "APP_NAME". When generating a "Web app" only everything seems to work fine.Expected behavior
Translatable strings should be replaced.
Minimal reproduction of the problem with instructions
ngx new
with the options provided below.Environment