ngx-translate-messageformat-compiler icon indicating copy to clipboard operation
ngx-translate-messageformat-compiler copied to clipboard

BUG: TranslateMessageFormatCompiler breaks if translation value is null

Open giacomo opened this issue 3 years ago • 0 comments

As example:

{
  "somekey”: {
       "desc": "translated desc",
       "some_other": null
  }
}

"some_other" Key should not break the loading of the translation-file, should consider to be an empty string.

Reproduction: https://stackblitz.com/edit/angular-ivy-aie8vp?file=src/app/app.component.html by changing null to an empty string in assets/de.json and en.json it works as expected

giacomo avatar Oct 19 '22 11:10 giacomo