Replies: 1 comment 9 replies
-
Yes, you need to overwrite the i18n.js {
// ...rest of config
"loadLocaleFrom": async (lang, ns) => {
const res = await fetch('...')
return res.json()
}
} |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to use locales json data from Server? and use fallback json from code.
For example, My server api send this as locales to my app
{ "translations": { "en": { "note": "Note", "provider": "Provider", "tags": "Tags" } } }
Also, I would like to use fallback from my code.
{ "translations": { "en": { "note": "Note", "provider": "Provider", "tags": "Tags", "reviews": "Reviews", } } }
Beta Was this translation helpful? Give feedback.
All reactions