When you first enter the URL localhost:3000 page is redirect to default browser language localhost:3000/tr and cookie i18nredirected is set to 'tr' as well. After you change the language in the application with this.$i18n.setLocale('en') function URL is changed to localhost:3000/en and cookie
i18nredirected is set to 'en'
The problem starts at that point open new tab and enters localhost:3000 and page is not redirect to either browserLang nor to cookie i18nredirected lang and get 404. If I set i18nredirected value manually default browser lang that is 'tr' page is redirected correctly to localhost:3000/tr.
As summarized the problem if browserDefaultLang and cookie lang doesn't match redirect doesn't work.
Do you have any idea about that problem?
Configuration in nuxt.config.js