lephyrus / ngx-translate-messageformat-compiler

Advanced pluralization (and more) for ngx-translate, using standard ICU syntax which is compiled with the help of messageformat.js.
MIT License
93 stars 29 forks source link

If any translation has the wrong format, then all translations in the app break. #102

Closed COSTADOR closed 7 months ago

COSTADOR commented 1 year ago

"@angular/core": "^15.0.0", "@ngx-translate/core": "^14.0.0", "ngx-translate-messageformat-compiler": "^6.2.0",

If any translation has the wrong format, then all translations in the app break.

Example: stackblitz.com For example instead of using =0{ we have 0{

Maybe it is possible to return the wrong key instead all translations do crash due to one error?

bigcreate commented 1 year ago

I guess the issue should be addressed to https://github.com/messageformat/messageformat/issues/393 as well

jaideepsingh commented 1 year ago

@lephyrus Thank you very much for merging the PR and the new release. I guess we can close this issue now.

lephyrus commented 7 months ago

Closed by #115.