commit
f53869dd77
|
@ -276,6 +276,7 @@
|
|||
<script type="text/javascript" src="../../common/locale.js"></script>
|
||||
<script type="text/javascript" src="../../common/Gateway.js"></script>
|
||||
<script type="text/javascript" src="../../common/Analytics.js"></script>
|
||||
<script type="text/javascript" src="../../common/main/lib/util/LanguageInfo.js"></script>
|
||||
<script type="text/javascript" src="../../common/embed/lib/util/LocalStorage.js"></script>
|
||||
<script type="text/javascript" src="../../common/embed/lib/util/utils.js"></script>
|
||||
<script type="text/javascript" src="../../common/embed/lib/view/LoadMask.js"></script>
|
||||
|
|
|
@ -343,6 +343,7 @@
|
|||
<script type="text/javascript" src="../../common/locale.js"></script>
|
||||
<script type="text/javascript" src="../../common/Gateway.js"></script>
|
||||
<script type="text/javascript" src="../../common/Analytics.js"></script>
|
||||
<script type="text/javascript" src="../../common/main/lib/util/LanguageInfo.js"></script>
|
||||
<script type="text/javascript" src="../../common/embed/lib/util/LocalStorage.js"></script>
|
||||
<script type="text/javascript" src="../../common/embed/lib/util/utils.js"></script>
|
||||
<script type="text/javascript" src="../../common/embed/lib/view/LoadMask.js"></script>
|
||||
|
|
|
@ -88,6 +88,13 @@ SSE.ApplicationController = new(function(){
|
|||
|
||||
config.canBackToFolder = (config.canBackToFolder!==false) && config.customization && config.customization.goback &&
|
||||
(config.customization.goback.url || config.customization.goback.requestClose && config.canRequestClose);
|
||||
var reg = (typeof (config.region) == 'string') ? config.region.toLowerCase() : config.region;
|
||||
reg = Common.util.LanguageInfo.getLanguages().hasOwnProperty(reg) ? reg : Common.util.LanguageInfo.getLocalLanguageCode(reg);
|
||||
if (reg!==null)
|
||||
reg = parseInt(reg);
|
||||
else
|
||||
reg = (config.lang) ? parseInt(Common.util.LanguageInfo.getLocalLanguageCode(config.lang)) : 0x0409;
|
||||
api.asc_setLocale(reg);
|
||||
}
|
||||
|
||||
function loadDocument(data) {
|
||||
|
|
|
@ -346,6 +346,7 @@
|
|||
"../apps/common/locale.js",
|
||||
"../apps/common/Gateway.js",
|
||||
"../apps/common/Analytics.js",
|
||||
"../apps/common/main/lib/util/LanguageInfo.js",
|
||||
"../apps/common/embed/lib/util/LocalStorage.js",
|
||||
"../apps/common/embed/lib/util/utils.js",
|
||||
"../apps/common/embed/lib/view/LoadMask.js",
|
||||
|
|
Loading…
Reference in a new issue