Does i18n.changeLanguage not work any more? #1654
-
I maintained a legacy application which used next-i18next (version 0.30.0, ). And we plan upgrade react/next.js/next-i18next to below version I create a fresh application by create-next-app then add next-i18next file. I found:
here is a demo: https://3000-techgeniuswang-nextjsblo-k98dri25xg9.ws-eu29.gitpod.io/ first line button code is second line button code is: my question is:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
NextJs handles locales and URLs now, out of the box. You should no longer use Your specific questions regarding URLs should be directed to the NextJs repo, as |
Beta Was this translation helpful? Give feedback.
NextJs handles locales and URLs now, out of the box. You should no longer use
i18n.changeLanguage
, as it will have no effect on your NextJs app.Your specific questions regarding URLs should be directed to the NextJs repo, as
next-i18next
no longer controls that functionality.