add Translations

Aditya Telange 2021-01-28 14:19:33 +05:30
parent 9f23c68a27
commit adcfc4cda0
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 44 additions and 0 deletions

43
Translations.md Normal file

@ -0,0 +1,43 @@
## Languages Supported
| Name | ISO Code | Available Translations |
| ---------- | -------- | -------------------------------------------------- |
| Bulgarian | bg | prev_page, next_page, read_time, toc, translations |
| German | de | prev_page, next_page, read_time, toc, translations |
| English | en | prev_page, next_page, read_time, toc, translations |
| Spanish | es | prev_page, next_page, read_time, toc, translations |
| Farsi | fa | prev_page, next_page, read_time, toc, translations |
| French | fr | prev_page, next_page |
| Hindi | hi | prev_page, next_page, read_time, toc, translations |
| Hungarian | hu | prev_page, next_page, read_time, toc, translations |
| Indonesian | id | prev_page, next_page, read_time, toc, translations |
| Italian | it | prev_page, next_page, read_time, toc, translations |
| Japanese | ja | prev_page, next_page, read_time, toc, translations |
| Korean | ko | prev_page, next_page |
| Russian | ru | prev_page, next_page, read_time, toc, translations |
| Chinese | zh | prev_page, next_page, read_time, toc, translations |
## Want to add your Language ?
Sample `langcode.yaml`
ISO codes can be found here: https://www.w3schools.com/tags/ref_language_codes.asp
```yml
- id: prev_page
translation: "Prev Page"
- id: next_page
translation: "Next Page"
- id: read_time
translation:
one: "1 min"
other: "{{ .Count }} min"
- id: toc
translation: "Table of Contents"
- id: translations
translation: "Translations"
```

@ -4,4 +4,5 @@
- **[FAQs](./FAQs)**
- **[Variables](./Variables)**
- **[Icons](./Icons)**
- **[Translations](./Translations)**
- **[ChangeLog](./ChangeLog)**