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,
);