You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function update() {
var _locale$getLocale = locale.getLocale(),
lang = _locale$getLocale.lang ? _locale$getLocale.lang : "en-US";
language = lang ? lang : "en-US";
intl = stringFormat.init(lang, strings, {
name: 'sdk'
});
}
@pomelo-nwu
When I first open the G6VP page, it starts in Chinese.
Then I immediately refresh the page and see that it is in English.
I noticed that in Cookies it changed the x-hng value to Lang= en-US.
I set this immediately when the project is first opened, before the user even gets to the g6Vp page.
Also when starting GISDK, I passed a parameter to the locales property as below.
But the result did not change. The page always opens in Chinese when first opened. When you reload (f5) it becomes English.
How can I solve this problem.
The text was updated successfully, but these errors were encountered: