Closed Thodor12 closed 3 years ago
I did indeed not think of this case. We only use "de", "fr", "en", etc as culture keys. I am sorry for the inconvenience. Thanks for your contribution, it's very welcome 👍 Pull request accepted. A new version of the npm-package will be published asap.
Currently if you put something like en-US as the default culture in the typescript file would fail to generate property because "this.resources.en-US.hasOwnProperty" is considered invalid and will throw an error.