diff options
author | Emiel Hollander <EmielH@users.noreply.github.com> | 2018-09-30 12:39:38 +0300 |
---|---|---|
committer | Emiel Hollander <EmielH@users.noreply.github.com> | 2018-09-30 12:39:38 +0300 |
commit | 7ffbe45d665c34048803bb21b8e3002c8b605e94 (patch) | |
tree | b5e367ce638519c63e3221d46c06b04c0f31f63b /README.md | |
parent | c306070aeed76cb98d9cc2eb36fd469b624af6eb (diff) |
Add i18n capabilities
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -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 |