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(key)
t
I'm submitting a bug report
Please tell us about your environment:
Operating System: Linux Mint 17.3 Rosa
Node Version: v8.10.0
Browser: all
Language: all
Current behavior: When using the attribute with combined translations, I can't use namespace because it breaks the translation. Example:
<h4 t="$t(global.open) $t(app:activities)"></h4>
renders as
activities)
but
<h4 t="$t(global.open) $t(global.open)"></h4>
Abrir Abrir
If I use t="app:activities" it works fine, so the problem must be related to the $t(key) markup
t="app:activities"
Expected/desired behavior:
should render as
Abrir atividades
The text was updated successfully, but these errors were encountered:
I'm not sure we can really do a lot about that. Nevertheless this example seems like to be anyway better solved with two BindingBehaviors
<h4>${'global.open' & t) ${'app:activities' & t}</h4>
Sorry, something went wrong.
That's what I ended up doing ... however I thought I should inform you, because in the i18next documentation it shows that this should be possible :)
I will look into this more closely
zewa666
No branches or pull requests
I'm submitting a bug report
2.1.2
Please tell us about your environment:
Operating System:
Linux Mint 17.3 Rosa
Node Version:
v8.10.0
5.8.0
Browser:
all
Language:
all
Current behavior:
When using the attribute with combined translations, I can't use namespace because it breaks the translation.
Example:
renders as
but
renders as
If I use
t="app:activities"
it works fine, so the problem must be related to the$t(key)
markupExpected/desired behavior:
The template with
should render as
The text was updated successfully, but these errors were encountered: