From e1b2a2f11ce89e5b4adab55e13e629b83b1816b5 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Fri, 22 Apr 2016 12:37:35 +0800 Subject: [PATCH] Update README.md, USAGE.md. --- README.md | 6 +++--- USAGE.md | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 41bfa97a..7a144cad 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/USAGE.md b/USAGE.md index 9be38e30..275a231a 100644 --- a/USAGE.md +++ b/USAGE.md @@ -48,3 +48,9 @@ ```bash $ bash convert.sh ``` + +To recompile all files, append flag `--all`: + +```bash +$ bash convert.sh --all +```