diff options
Diffstat (limited to 'uiframe-iui/src/main/resources/webroot/framework/js/international/loadi18nApp_universal.js')
-rw-r--r-- | uiframe-iui/src/main/resources/webroot/framework/js/international/loadi18nApp_universal.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/uiframe-iui/src/main/resources/webroot/framework/js/international/loadi18nApp_universal.js b/uiframe-iui/src/main/resources/webroot/framework/js/international/loadi18nApp_universal.js new file mode 100644 index 00000000..5970ca6e --- /dev/null +++ b/uiframe-iui/src/main/resources/webroot/framework/js/international/loadi18nApp_universal.js @@ -0,0 +1,24 @@ +/*
+ * Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+function loadAppPropertiesSideMenu(lang){
+ /**
+ * 调用框架的国际化资源文件加载函数;
+ * 相应参数为当前语言(由框架从后端取得),国际化资源文件名前缀,资源文件所在路径。
+ */
+ loadPropertiesSideMenu(lang, 'app-universal-i18n', 'i18n/');
+}
+loadAppPropertiesSideMenu(lang);
\ No newline at end of file |