Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EmielH/tale-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Hollander <EmielH@users.noreply.github.com>2018-09-30 12:39:38 +0300
committerEmiel Hollander <EmielH@users.noreply.github.com>2018-09-30 12:39:38 +0300
commit7ffbe45d665c34048803bb21b8e3002c8b605e94 (patch)
treeb5e367ce638519c63e3221d46c06b04c0f31f63b /README.md
parentc306070aeed76cb98d9cc2eb36fd469b624af6eb (diff)
Add i18n capabilities
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 17 insertions, 1 deletions
diff --git a/README.md b/README.md
index 76f4c1e..069e9b4 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ hugo server -t tale
### Additional information
-For more information, read the official [setup guide]( https://gohugo.io/overview/installing/) of Hugo.
+For more information, read the official [setup guide](https//gohugo.io/overview/installing/) of Hugo.
### Update the theme
@@ -48,6 +48,22 @@ git submodule update --remote --rebase
If you have cloned the theme, you can run `git pull` inside the theme folder.
+## Configuration
+
+### Internationalisation (i18n)
+
+Tale supports using other languages than English. Language files for the texts Tale uses are provided in the `i18n` directory. The default language is English. To swith languages, add the key `defaultContentLanguage` to your `config.toml` file. For example:
+
+```
+defaultContentLanguage = "nl"
+```
+
+To translate texts your site uses, add an `i18n` folder to your site.
+
+Feel free to submit pull requests for other translations of Tale's texts.
+
+[Hugo documentation for multilingual sites](//gohugo.io/content-management/multilingual/)
+
## Acknowledgments
Thanks