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

Key 'constructor' is not parsed #251

Open
coolalex12 opened this issue Dec 6, 2021 · 1 comment
Open

Key 'constructor' is not parsed #251

coolalex12 opened this issue Dec 6, 2021 · 1 comment

Comments

@coolalex12
Copy link

<div>
  {{ 'constructor.test1' | translate }}
</div>
<div>
  {{ 'test' | translate }}
</div>

parse results:

{
  "test": ""
}

expected result

{
  "constructor": {
    "test1": ""
  },
  "test": ""
}

@SebaRenner
Copy link

SebaRenner commented Dec 10, 2021

@coolalex12 did you use the correct format option?
--format namespaced-json

Test it as well. Seems like constructor is a keyword that is crawled but ignored

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

2 participants