Rewrite lcoale maping #1516
-
Is it possible to map multiple languages to same translation file? e.g. {
"fr-EN": "fr",
"fr-US": "fr",
} I am using next.js@10 and LTS of next-i18next. |
Beta Was this translation helpful? Give feedback.
Answered by
isaachinman
Nov 11, 2021
Replies: 1 comment 1 reply
-
I believe you're looking for locale fallbacks. Please check previous issues like #1465 for more information. In short, you should be able to achieve this purely through your i18next configuration. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
isaachinman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe you're looking for locale fallbacks. Please check previous issues like #1465 for more information. In short, you should be able to achieve this purely through your i18next configuration.