Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yml parser TypeScript and locale issues #500

Open
gregschroeder opened this issue Aug 12, 2022 · 0 comments
Open

yml parser TypeScript and locale issues #500

gregschroeder opened this issue Aug 12, 2022 · 0 comments

Comments

@gregschroeder
Copy link

I'm very interested in keeping the resource files in YAML rather than JSON format - thanks for that recent addition.

Unfortunately, I was unable to convert due to a couple of issues.

  1. the TypeScript support is out of date (release 0.13 and not 0.15) and does not include the parser directive, so I cannot use with TypeScript projects (without any casts or lots of hacks)
  2. It no longer picks the right locale resource file. I am able to easily set locale (in __ options) with the JSON version and all works correctly. When then only changes I make are to set parser to YAML and convert the resource files to .yml, it correctly gets the right string and does substitutions, but only from the primary (en) file, ignoring the locale setting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant