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
{{ $t('somekey', { name: userName }) }}
When the translation does not include a {name} occurrence, the result for the translation is completely empty.
{name}
The text was updated successfully, but these errors were encountered:
Hi Peter, could you create a reproduction of this with a simple vue-cli application so that I can have a look?
Thanks
Sorry, something went wrong.
Just add a non-existing variable to a call to $t:
This works fine: console.log(this.$t('some_key'));
console.log(this.$t('some_key'));
This is undefined: console.log(this.$t('some_key', { name: 'Bob' }));
console.log(this.$t('some_key', { name: 'Bob' }));
No branches or pull requests
{{ $t('somekey', { name: userName }) }}
When the translation does not include a
{name}
occurrence, the result for the translation is completely empty.The text was updated successfully, but these errors were encountered: