Replies: 1 comment
-
|
No it is not working but it was some initial exploration as I have now idea how internationalization works with vuetify. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I have been looking at the internationalization example that you have posted in the repository (here: https://github.com/Kitware/trame/blob/master/examples/validation/core/32_i18n.py) of trame but, or I am not understanding it well , or does not work properly.
I understand that the idea is that the vuetify.VSelect() label has to change based on the selected language, but it doesn't work for me. I understand that the value of the variable $vuetify.lang.t('title') should return the title based on the language that is selected, but I don't see that working either. Do I misunderstand the idea of the example or is it not working properly? Is it necessary to use a callback to update the selector tag?
I added the following lines, below line 57:
but, as the following images show, the text was not updated:


Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions