You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and changed the function parameters to exclude $i18n.locale and locale and it works. Unfortunately, this is not an option as i want to pass the data to a grandchild component. However, if i can configure the grandchild to use their grandparents translation data that works too..
how can i get
either the above to work
Alternatively, use the grandparents translation data in the grandchild
Alternatively, dynamically import translation data in the grandchild based on a prop(location of translation file to be imported)
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to import a
.json
file to use as the translation file.the
locale
frommessaging.json
does not have any errors and works if i instead added the following to the top<i18n src="@/locales/modules/messaging.json"></i18n>
and changed the function parameters to exclude
$i18n.locale
andlocale
and it works. Unfortunately, this is not an option as i want to pass the data to a grandchild component. However, if i can configure the grandchild to use their grandparents translation data that works too..how can i get
Thanks
The text was updated successfully, but these errors were encountered: