Skip to content

dyweb/tam-i18n

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

i18n (internationalization) plugin for Tam.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published