We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I don't want to add empty translations to other languages, the log message is still shown like this
i18next-scanner: Added a new translation key { "translation.key": undefined } to "locales/en-US/common.json"
This place should be updated somehow https://github.com/i18next/i18next-scanner/blob/master/src/parser.js#L1035-L1043
defaultValue: (lng, _ns, _key, entry) => (lng === DEFAULT_LOCALE) ? entry.defaultValue : undefined
No log is shown when no entry is added to translation file
The text was updated successfully, but these errors were encountered:
fix: do not show log message when defaultValue returns undefined beca…
35004cd
…use in this case no tranlsation key is added Fixes i18next#245
ac0282d
…use in this case no translation key is added Fixes i18next#245
2832cb6
…use in this case no translation key is added (#246) Fixes #245
Successfully merging a pull request may close this issue.
🐛 Bug Report
If I don't want to add empty translations to other languages, the log message is still shown like this
This place should be updated somehow https://github.com/i18next/i18next-scanner/blob/master/src/parser.js#L1035-L1043
To Reproduce
Expected behavior
No log is shown when no entry is added to translation file
Your Environment
The text was updated successfully, but these errors were encountered: