i18n icon indicating copy to clipboard operation
i18n copied to clipboard

$route.name with wrong prefix when option differentDomains is in true

Open joaquinvexels opened this issue 5 years ago • 2 comments

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!

joaquinvexels avatar Oct 29 '20 18:10 joaquinvexels

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.

stale[bot] avatar Jan 11 '21 11:01 stale[bot]

I can verify this issue, except that for me it always takes the first locale of my locales array.

andorfermichael avatar Dec 17 '21 06:12 andorfermichael