diff options
Diffstat (limited to 'openo-portal/portal-common/src/main/webapp/common/js/international/loadi18nApp_universal.js')
-rw-r--r-- | openo-portal/portal-common/src/main/webapp/common/js/international/loadi18nApp_universal.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18nApp_universal.js b/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18nApp_universal.js new file mode 100644 index 00000000..9a6cd48c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18nApp_universal.js @@ -0,0 +1,24 @@ +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * 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 |