string.zh.json:
"test_msg": "这是测试文字 = {{msg}}"
string.en.json:
"test_msg": "this is test msg = {{msg}}"
在组件中使用,XXPage.js:
Toast.showToast(
t('test_msg', {msg: "test msg!!!!!"}),
null,
null,
true,
);
string.zh.json:
"test_msg": "这是测试文字 = {{msg}}"
string.en.json:
"test_msg": "this is test msg = {{msg}}"
在组件中使用,XXPage.js:
Toast.showToast(
t('test_msg', {msg: "test msg!!!!!"}),
null,
null,
true,
);