tam-i18n

0.3.0 • Public • Published

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.json

In the example above, both index.en-US.html and index.zh-CN.html will be generated.

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i tam-i18n

Weekly Downloads

6

Version

0.3.0

License

MIT

Last publish

Collaborators

  • commouse