From cfb5c6ef0cb9ae5b682ef901159633b5231debfd Mon Sep 17 00:00:00 2001 From: larukedi Date: Fri, 23 Aug 2013 22:57:50 +0300 Subject: [PATCH] * updated README.md for multi-language support. --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.md b/README.md index e7830cd..6c5ac6e 100644 --- a/README.md +++ b/README.md @@ -215,6 +215,37 @@ If your server does not have a default timezone set in php.ini, it may return er } ``` +###Multi-language +Enables multi-language support which needs seperate directories for each language in `docs/` folder. + +```json +{ + "languages": { "en": "English", "de": "German" } +} +``` + +Directory structure: +``` +├── docs/ +│ ├── index.md +│ ├── en +│ │ ├── 00_Getting_Started.md +│ │ ├── 01_Examples +│ │ │ ├── 01_GitHub_Flavored_Markdown.md +│ │ │ ├── 05_Code_Highlighting.md +│ │ ├── 05_More_Examples +│ │ │ ├── Hello_World.md +│ │ │ ├── 05_Code_Highlighting.md +│ ├── de +│ │ ├── 00_Getting_Started.md +│ │ ├── 01_Examples +│ │ │ ├── 01_GitHub_Flavored_Markdown.md +│ │ │ ├── 05_Code_Highlighting.md +│ │ ├── 05_More_Examples +│ │ │ ├── Hello_World.md +│ │ │ ├── 05_Code_Highlighting.md +``` + ## Running Remotely Copy the files from the repo to a web server that can run PHP 5.3 or greater.