fix for US storefront changing to en-gb
This commit is contained in:
parent
f84adfaf14
commit
6ff55edc5e
1 changed files with 1 additions and 1 deletions
|
@ -3650,7 +3650,7 @@ const app = new Vue({
|
||||||
} else if (u && u.includes('_') && langcodes.includes(((u.toLowerCase()).replace('_', "-")).split("-")[0])) {
|
} else if (u && u.includes('_') && langcodes.includes(((u.toLowerCase()).replace('_', "-")).split("-")[0])) {
|
||||||
sellang = ((u.toLowerCase()).replace('_', "-")).split("-")[0]
|
sellang = ((u.toLowerCase()).replace('_', "-")).split("-")[0]
|
||||||
}
|
}
|
||||||
if (sellang.startsWith("en") && this.mk.storefrontId != "en-us") sellang = "en-gb"
|
if (sellang.startsWith("en") && this.mk.storefrontId != "us") sellang = "en-gb"
|
||||||
return await sellang
|
return await sellang
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue