It seems by default Reacti18next falls back to the translation key if no translation was found in Remote URL which i passed using HTTPBackend loadpath for the key, e.g. // No translation defined for bill_type_blank yet i18next.t('bill_type_blank') // Returns 'bill_type_blank' If no translation is found for the key on Remote LoadPath, I would prefer to fetch that same key from locales path "locales/{{lng}}/translation.json". i am already using ChainedBackend for network fallback i want the same for key fallback, How can I achieve something like this using the i18next library?
Asked
Active
Viewed 415 times
2
-
1i18next fallback (in combination with chained-backend) only works on language and/or namespace level – adrai Aug 09 '21 at 11:15
-
@sanjay: Did you find a solution? – systemdebt Feb 24 '22 at 21:23