diff --git a/Translations.md b/Translations.md new file mode 100644 index 0000000..a78ffab --- /dev/null +++ b/Translations.md @@ -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" +``` diff --git a/_Sidebar.md b/_Sidebar.md index d24b22a..8eac218 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -4,4 +4,5 @@ - **[FAQs](./FAQs)** - **[Variables](./Variables)** - **[Icons](./Icons)** + - **[Translations](./Translations)** - **[ChangeLog](./ChangeLog)**