mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
add Translations
parent
9f23c68a27
commit
adcfc4cda0
43
Translations.md
Normal file
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)**
|
- **[FAQs](./FAQs)**
|
||||||
- **[Variables](./Variables)**
|
- **[Variables](./Variables)**
|
||||||
- **[Icons](./Icons)**
|
- **[Icons](./Icons)**
|
||||||
|
- **[Translations](./Translations)**
|
||||||
- **[ChangeLog](./ChangeLog)**
|
- **[ChangeLog](./ChangeLog)**
|
||||||
|
Loading…
Reference in New Issue
Block a user