i18n
i18n copied to clipboard
$route.name with wrong prefix when option differentDomains is in true
I'm trying to make a site with translation on different subdomains and when I go to another subdomain, in the variable $route.name always get 'page___pt'.
I have been looking at the .nuxt folder and get always the 'PT' language because I put it 'PT' in the last place on the array of locales.
I try it with the option differentDomains on false and work perfectly.
How can I fix this?
Thanks!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I can verify this issue, except that for me it always takes the first locale of my locales array.