How to correctly configure language fallback. #1791
Unanswered
augustomallmann
asked this question in
Q&A
Replies: 2 comments 2 replies
-
@augustomallmann
i18next still can't find pt-BR, but it switches to pt (language part). The current language tag will be pt-BR. There is a second solution. 1 works with pt_BR (with underlining). |
Beta Was this translation helpful? Give feedback.
0 replies
-
using lowercaselng you should lowercase the lng in your resources too |
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
-
Hi. I've a website with 3 languages and I'm struggling to configure the
/pt-br/
language. The url slug should bept-br
and not onlypt
. I was reading this post but couldn't configure it correctly. Thept-br
content keeps pulling theen
(default).##My Goal:
my-website.com/pt-br/blog
##Configuration:
##My problem:
Whenever I open a
pt-br
page, it returns the english content (default). What should I do to make it work withpt-br
and not onlypt
?Beta Was this translation helpful? Give feedback.
All reactions