-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client side hot reload doesn’t work with language codes containing a hyphen #19
Comments
Hi @dnbastos, thank you for reporting this issue 🙏🏼 I'm not familiar with |
Pls try |
Yes, here is my folder structure:
I`m using IETF Language Codes |
Is |
Everything is working! Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Languages such as
pt-BR
fail to hot reload and I need to refresh the page to see the changes.I have to change
pt-BR
to bept
to work.Investigation
The problem starts here:
https://github.com/felixmosh/i18next-hmr/blob/master/lib/client-hmr.js#L35
the method
getLanguagePartFromCode('pt-BR')
returnspt
The text was updated successfully, but these errors were encountered: