set en-gb as override for mk-js global instead of en-us
This commit is contained in:
parent
f71a22b8e9
commit
81239fa900
2 changed files with 3 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -324,3 +324,4 @@ resources/b64.txt
|
|||
savedconfig/cider-config.json
|
||||
savedconfig/config.json
|
||||
savedconfig/session.json
|
||||
savedconfig/window-state.json
|
||||
|
|
|
@ -3623,6 +3623,7 @@ const app = new Vue({
|
|||
} else if (u && u.includes('_') && langcodes.includes(((u.toLowerCase()).replace('_', "-")).split("-")[0])) {
|
||||
sellang = ((u.toLowerCase()).replace('_', "-")).split("-")[0]
|
||||
}
|
||||
if (sellang.startsWith("en") && this.mk.storefrontId != "en-us") sellang = "en-gb"
|
||||
return sellang
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue