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
translate tag not properly updating #27
Comments
I think that could be a Instead you should try something like this: <slot>
<translate>This will only be displayed if there is no content to be distributed.</translate>
</slot> |
Hmm from what i read, i can place the slot element anywhere in my child component ? |
|
This can't work because instead of the "Mustache" syntax (double curly braces), you have to use So instead of: <translate>Delete {{selected.count}} Users</translate> Use: <translate>Delete %{ selected.count } Users</translate> |
I tried this, it didnt update either |
E.g. i have a feeling this should work in any child component. The variable is defined, and it renders the text but it does not translate it. Also when switching languages, it will always display the plain text. this however works most of the time (not always though, it fails when many child instances change) Versions |
Ok i think i found the source of the first issue. If the translation is not found, the text never updates regardless of variable or tag content changes. Maybe this should throw a warning or something :) |
There is a Again, this is written in the documentation :) |
oh crap, i had silent: true 🙈 |
I have an issue where the translate tag isnt updated when the transcluded content changes in a child component.
The text was updated successfully, but these errors were encountered: