0.3.0 • Published 7 years ago

tam-i18n v0.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago