Replies: 1 comment
-
you could use something like https://react.i18next.com/ and make use of https://www.i18next.com/how-to/add-or-load-translations#load-using-a-backend-plugin to load the JSON remotely. You could create the endpoint on your adonis application and return the JSON. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi is it possible or other work around to use the {{ t('messages.title') }} in js file for react?
another question...
Can i get the object of a specific translation? similar to adonis v4.
In adonis v4 there is a function Antl.get() that can return an object of translation.
Beta Was this translation helpful? Give feedback.
All reactions