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
Nesting t calls causes unwanted removal of keys
const condition = true t('test.outer', { subString: condition ? t('test.inner1') : t('test.inner2') })
The keys test.inner1 and test.inner2 will be removed from the translations file.
test.inner1
test.inner2
Keys should not be removed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Bug Report
Nesting t calls causes unwanted removal of keys
To Reproduce
The keys
test.inner1
andtest.inner2
will be removed from the translations file.Expected behavior
Keys should not be removed.
Your Environment
The text was updated successfully, but these errors were encountered: