Closed isra60 closed 4 years ago
Please post on StackOverflow.
Here is the question in stackoverflow https://stackoverflow.com/questions/61658401/next-i18next-reload-page-seems-to-broke-the-language-dynamic-keys
@isaachinman I have trying with other browser configuration (with have english language as default) and when the page reloads the web changes to english language even with browserLanguageDetection= false
But my delfault language is spanish (es). So any hints of what is wrong??
Thanks in advanced
Hi. I have follow the tutorial.. this is my app.js and my index.js
Index.js
_app.js
Then I have a Menu component that load a settings page with different menues.
I don't know how to make this to change dinamycally as this menu only rerender on loading page (location.reload())
Then in one of my form settings I have the language selector.
So when I changed the language every label of the page changes to the correct language (only the ones related to Menu not get changed (as it has the problem about reload the menu )).
So If I try yo reload the page with the language changes I don't know why but the page rerenders with the default language. May something with the initialprops I don't fully understand or other option...
So two problems
this.props.t('menu_basic_settings) generate Basic Settings
but this is possible??
this.props.t({this.props.header})
I mean using an external props?