diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -91,6 +91,20 @@ It is possible to use an icon from [the solid set](https://fontawesome.com/icons url = "mailto:mail@example.org" ``` +### 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 switch 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 Stock portrait photo obtained [here](https://www.pexels.com/photo/adult-beautiful-blonde-blur-324658/). |