monorepo: [bug] Editor bugged by Unicode error
Problem
The Editor will throw an error if a languageTag.json uses an invalid Unicode.
Expected behavior
The Editor could check if the.json using a valid unicode
Reproduction
- Try to open this project in the Editor https://github.com/jannesblobel/unicode-bug-issues-1404
Other information
main-mr.json looks like a normal Language but uses invalid Unicode.
No response
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 16 (16 by maintainers)
Commits related to this issue
- fix: empty object in resource file - unit test - check in plugins - i18next and json https://github.com/inlang/monorepo/issues/1404 — committed to opral/monorepo by NilsJacobsen 9 months ago
probably… the 7 day caching is really problematic. i filed a request https://github.com/jsdelivr/jsdelivr/issues/18532#issue-1930222232
Great reproduction! I’ll look into it.
If you try to open this project in the Editor i get this error. The
main-mr.jsonis an invalid Unicode, which is the reason why it breaks. If you removemrfrom thelanguage tagin the project settings, it works fine.@felixhaeberle I hope that helps, a bit more
I try to reproduce the bug in a extra repo and will post the link to this repo here