-
Notifications
You must be signed in to change notification settings - Fork 4
locales
axios edited this page Jan 26, 2021
·
3 revisions
Get details from the code.
const { __, use } = require('@axiosleo/cli-tool').locales;
console.log(__('some word')); // translate word
use('en-US'); // specifies the language set from sets([en-US,zh-CN])
console.log(__('use en-US language set to translate'));Anything unclear or inaccurate? Please let me know at axioscros@aliyun.com