-
Beta Was this translation helpful? Give feedback.
Answered by
jamuhl
Sep 15, 2023
Replies: 1 comment 2 replies
-
That's how it works...fallback gets always loaded...as it does not know what is available until it actually loaded the files |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can't fetch the file of fallback language inside the t function upon being a missing key -> i18next.t run sync why fetching translations is async
there are three options:
a) you load and use fallbacks
b) you assert resource files are complete (not that hard) and set fallback to false
c) you load the translations for fallback in the missingKeyHandler (still sync and not async)
regarding extending the docs...contributions are always welcome to improve the docs