Switch themes to minimo

This commit is contained in:
Dave Gallant
2021-09-06 11:55:05 -04:00
parent 75f9797c91
commit 4ff7aec7c1
302 changed files with 17841 additions and 607 deletions

View File

@@ -0,0 +1,27 @@
---
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.