README
安装
npm i @beisen-cmps/italent-i18n-wrapper -S
前提
请确保有window.BSGlobal.appInfo 和 window.BSGlobal.I18NInfo;
网站能调通http://i18n.italent-inc.cn/api/resources?appName=XXX&lang=XXX&NameSpaces=XXX 类似接口
使用
见项目examples/demo
描述
北森组件多语言i18n-tools统一接入方案。
npm i @beisen-cmps/italent-i18n-wrapper -S
<script type="module">
import beisenCmpsItalentI18nWrapper from 'https://cdn.skypack.dev/@beisen-cmps/italent-i18n-wrapper';
</script>
npm i @beisen-cmps/italent-i18n-wrapper -S
请确保有window.BSGlobal.appInfo 和 window.BSGlobal.I18NInfo;
网站能调通http://i18n.italent-inc.cn/api/resources?appName=XXX&lang=XXX&NameSpaces=XXX 类似接口
见项目examples/demo
北森组件多语言i18n-tools统一接入方案。