Files
site/themes/minimo/exampleSite/content/docs/translation.md
2021-09-06 13:02:12 -04:00

28 lines
758 B
Markdown

---
date: 2017-09-27T14:00:00+06:00
title: Translation Support
authors: ["muniftanjim"]
categories:
- features
tags:
- translation
- i18n
slug: translation
---
You can translate Minimo in your own language!
For example, if you want to translate Minimo in Spanish, you will have to add this to your site's config file:
```toml
[languages.es]
lang = "es"
languageName = "Spanish"
weight = 1
```
Then create a folder named **`/i18n/`** in your site's root. And create a file **`/i18n/es.toml`** with the translated strings.
For reference template you can see the [en.toml](https://github.com/MunifTanjim/minimo/blob/master/i18n/en.toml) file.
If you want your translation file to be included in Minimo repository, feel free to create a pull request.