tam-i18n
v0.3.0
Published
i18n Support for Tam.
Readme
Tam-i18n
HTML i18n(internationalization) support for Tam.
Usage
This plugin wraps gulp-html-i18n. Here is an example:
{
// ...
"plugins": {
"tam-i18n": {
"src": ["./src/index.html"],
"dest": "./",
"langDir": "./lang"
}
},
// ...
}The lang directory is listed as follows:
lang
├─ en-US
│ └─ index.json
└─ zh-CN
└─ index.jsonIn the example above, both index.en-US.html and index.zh-CN.html will be generated.
License
MIT License
