Update README.md, USAGE.md.

This commit is contained in:
Zhang Huangbin 2016-04-22 12:37:35 +08:00
parent 26f1e21f0d
commit e1b2a2f11c
2 changed files with 9 additions and 3 deletions

View File

@ -5,11 +5,11 @@ to read converted documents in HTML format, get support in our forum:
# How to translate and contribute
* Create a new directory and name it to the short language code. e.g. for
Germany, please name it `de_DE`.
* Add file `de_DE/_lang.md` with the full name of the language. e.g.
Germany, please name it `zh_CN`.
* Add file `zh_CN/_lang.md` with the full name of the language. e.g.
write `English` in `en_US/_lang.md`, `简体中文` in `zh_CN/_lang.md`.
* Copy the markdown document you want to translate to new language directory,
create the same sub-directories as original document. For example, to
translate `en_US/howto/reset.user.password.md`, please create
`de_DE/howto/` and copy `reset.user.password.md` to `de_DE/howto/`.
`zh_CN/howto/` and copy `reset.user.password.md` to `zh_CN/howto/`.
* Translate the file and send a pull request.

View File

@ -48,3 +48,9 @@
```bash
$ bash convert.sh
```
To recompile all files, append flag `--all`:
```bash
$ bash convert.sh --all
```