Skip to content

Commit

Permalink
Merge pull request #5458 from squidfunk/feature/indian-languages
Browse files Browse the repository at this point in the history
Add new Indian translations
  • Loading branch information
squidfunk authored May 2, 2023
2 parents e334d60 + 9bb5d77 commit 84959a5
Show file tree
Hide file tree
Showing 10 changed files with 417 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/schema/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@
"ka"
]
},
{
"title": "Site language: Kannada",
"enum": [
"kn"
]
},
{
"title": "Site language: Korean",
"enum": [
Expand Down Expand Up @@ -304,6 +310,12 @@
"ru"
]
},
{
"title": "Site language: Sanskrit",
"enum": [
"sa"
]
},
{
"title": "Site language: Serbo-Croatian",
"enum": [
Expand Down Expand Up @@ -340,6 +352,12 @@
"sv"
]
},
{
"title": "Site language: Telugu",
"enum": [
"te"
]
},
{
"title": "Site language: Thai",
"enum": [
Expand Down
3 changes: 3 additions & 0 deletions docs/setup/setting-up-site-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,16 @@ The following configuration options are supported:
- `hy` – Armenian
- `it` – Italian
- `ja` – Japanese
- `kn` - Kannada
- `ko` – Korean
- `no` – Norwegian
- `pt` – Portuguese
- `ro` – Romanian
- `ru` – Russian
- `sa` – Sanskrit
- `sv` – Swedish
- `ta` – Tamil
- `te` – Telugu
- `th` – Thai
- `tr` – Turkish
- `vi` – Vietnamese
Expand Down
3 changes: 3 additions & 0 deletions material/.overrides/hooks/translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
"it": "it",
"ja": "jp",
"ka": "ge",
"kn": "in",
"ko": "kr",
"ku-IQ": "iq",
"lt": "lt",
Expand All @@ -167,12 +168,14 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
"pt": "pt",
"ro": "ro",
"ru": "ru",
"sa": "in",
"sh": "rs",
"si": "lk",
"sk": "sk",
"sl": "si",
"sr": "rs",
"sv": "se",
"te": "in",
"th": "th",
"tl": "ph",
"tr": "tr",
Expand Down
55 changes: 55 additions & 0 deletions material/partials/languages/kn.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "kn",
"action.edit": "ಈ ಪುಟವನ್ನು ತಿದ್ದುಪಡಿ ಮಾಡಿ",
"action.skip": "ವಿಷಯಕ್ಕೆ ತೆರಳಿ",
"action.view": "ಈ ಪುಟದ ಮೂಲವನ್ನು ವೀಕ್ಷಿಸಿ",
"announce.dismiss": "ಇದನ್ನು ಮತ್ತೊಮ್ಮೆ ತೋರಿಸಬೇಡಿ",
"blog.archive": "ಹಳೆಯ ಲೇಖನ",
"blog.categories": "ವರ್ಗಗಳು",
"blog.categories.in": "ರಲ್ಲಿ",
"blog.continue": "ಓದು ಮುಂದುವರೆಸಿ",
"blog.draft": "ಆರಂಭಿಕ ಬರವಣಿಗೆ",
"blog.index": "ಸೂಚ್ಯಂಕಕ್ಕೆ ಹಿಂತಿರುಗಿ",
"blog.meta": "ಮಾಹಿತಿಯ ಬಗ್ಗೆ ಮಾಹಿತಿ",
"blog.references": "ಸಂಬಂಧಿತ ಉಲ್ಲೇಖಗಳು",
"clipboard.copy": "ಇದನ್ನು ನಕಲಿಸಿ",
"clipboard.copied": "ಇದನ್ನು ನಕಲು ಮಾಡಿದೆ",
"consent.accept": "ನಾನು ಇದನ್ನು ಒಪ್ಪಿಕೊಳ್ಳುತ್ತೇನೆ",
"consent.manage": "ಸಂರಚನೆಯನ್ನು ನಿರ್ವಹಿಸಿ",
"consent.reject": "ನಾನು ಇದನ್ನು ತಿರಸ್ಕರಿಸುತ್ತೇನೆ",
"footer": "ಅಡಿಟಿಪ್ಪಣಿ",
"footer.next": "ಮುಂದಿನ ಸಂಚಿಕೆ",
"footer.previous": "ಹಿಂದಿನ ಸಂಚಿಕೆ",
"header": "ಮೇಲ್ಟಿಪ್ಪಣಿ",
"meta.comments": "ಪ್ರತಿಕ್ರಿಯೆಗಳು",
"meta.source": "ಮೂಲ",
"nav": "ಸಂಚರಣೆ",
"readtime.one": "ಓದಲು ೧ ನಿಮಿಷ ತೆಗೆದುಕೊಳ್ಳುತ್ತದೆ",
"readtime.other": "ಓದಲು # ನಿಮಿಷಗಳನ್ನು ತೆಗೆದುಕೊಳ್ಳುತ್ತದೆ",
"rss.created": "ಆರ್ಎಸ್ಎಸ್ ಸೇವೆ",
"rss.updated": "ಆರ್ಎಸ್ಎಸ್ ಸೇವೆಯಿಂದ ಇತ್ತೀಚಿನ ನವೀಕರಣ",
"search": "ಹುಡುಕಿ",
"search.placeholder": "ಹುಡುಕಿ",
"search.share": "ಹಂಚಿಕೊಳ್ಳಿ",
"search.reset": "ಅಳಿಸು",
"search.result.initializer": "ಹುಡುಕಾಟವನ್ನು ಪ್ರಾರಂಭಿಸಲಾಗುತ್ತಿದೆ",
"search.result.placeholder": "ಬರೆಯುವ ಮೂಲಕ ಹುಡುಕಲು ಪ್ರಾರಂಭಿಸಿ",
"search.result.none": "ಹೊಂದಾಣಿಕೆಯಾಗುವ ದಾಖಲೆಗಳಿಲ್ಲ",
"search.result.one": "೧ ಹೊಂದಾಣಿಕೆಯ ದಾಖಲೆಯಿದೆ",
"search.result.other": "# ಹೊಂದಾಣಿಕೆಯ ದಾಖಲೆಗಳಿವೆ",
"search.result.more.one": "ಈ ಪುಟದಲ್ಲಿ ಇನ್ನೂ ಒಂದು ಕಂಡುಬಂದಿದೆ",
"search.result.more.other": "ಈ ಪುಟದಲ್ಲಿ ಇನ್ನೂ # ಇವೆ",
"search.result.term.missing": "ಕಾಣೆಯಾಗಿದೆ",
"select.language": "ಭಾಷೆಯನ್ನು ಆಯ್ಕೆಮಾಡಿ",
"select.version": "ಆವೃತ್ತಿಯನ್ನು ಆಯ್ಕೆಮಾಡಿ",
"source": "ಭಂಡಾರಕ್ಕೆ ಹೋಗಿ",
"source.file.contributors": "ಕೊಡುಗೆದಾರರು",
"source.file.date.created": "ರಚಿಸಿದ ದಿನಾಂಕ",
"source.file.date.updated": "ಕೊನೆಯ ನವೀಕರಣ ದಿನಾಂಕ",
"tabs": "ವಿವಿಧ ಕಿಟಕಿಗಳು",
"toc": "ವಿಷಯಗಳ ಪಟ್ಟಿ",
"top": "ಮೇಲಕ್ಕೆ ಹಿಂತಿರುಗಿ"
}[key] }}{% endmacro %}
55 changes: 55 additions & 0 deletions material/partials/languages/sa.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "sa",
"action.edit": "एतत् पृष्ठं सम्पादयतु",
"action.skip": "सामग्रीं त्यजन्तु",
"action.view": "अस्य पृष्ठस्य स्रोतः पश्यन्तु",
"announce.dismiss": "एतत् पुनः न दर्शयतु",
"blog.archive": "लेखागार",
"blog.categories": "श्रेणियाँ",
"blog.categories.in": "इत्यस्मिन्‌",
"blog.continue": "पठनं निरन्तरं कुर्वन्तु",
"blog.draft": "प्रारूप",
"blog.index": "अनुक्रमणिकां प्रति पुनः आगच्छन्तु",
"blog.meta": "परिदत्तांश",
"blog.references": "सन्दर्भाः",
"clipboard.copy": "एतत् प्रतिलिख्यताम्",
"clipboard.copied": "प्रतिलिपितः भवति",
"consent.accept": "अहं तत् स्वीकुर्वन् अस्मि",
"consent.manage": "वविन्यासं प्रबन्धयन्तु",
"consent.reject": "अहं तत् निराकरोमि",
"footer": "पादलेखः",
"footer.next": "अग्रिमः",
"footer.previous": "पूर्वकृत",
"header": "शीर्षकम्",
"meta.comments": "विचाराः",
"meta.source": "स्रोतः",
"nav": "मार्गदर्शनम्",
"readtime.one": "१ निमेषं पठितुं",
"readtime.other": "# निमेषं पठितुं",
"rss.created": "आरएसएस सेवा",
"rss.updated": "आरएसएस सेवातः नवीनतमं अद्यतनम्",
"search": "अन्वेषण",
"search.placeholder": "अन्वेषण",
"search.share": "साझां कुर्वन्तु",
"search.reset": "तत् स्वच्छं कुर्वन्तु",
"search.result.initializer": "अन्वेषणस्य आरम्भः",
"search.result.placeholder": "अन्वेषणं आरभ्य लिखन्तु",
"search.result.none": "मेलयुक्ताः दस्तावेजाः नास्ति",
"search.result.one": "१ मेलकर्ता दस्तावेजः अस्ति",
"search.result.other": "# मेलनदस्तावेजाः सन्ति",
"search.result.more.one": "अस्मिन् पृष्ठे १ अधिकं अस्ति",
"search.result.more.other": "अस्मिन् पृष्ठे # अधिकाः सन्ति",
"search.result.term.missing": "असमेत",
"select.language": "भाषां चिनोतु",
"select.version": "संस्करणं चिनोतु",
"source": "भण्डारं गच्छन्तु",
"source.file.contributors": "अंशदाता",
"source.file.date.created": "ननिर्माणस्य तिथिः",
"source.file.date.updated": "परिवर्तनस्य तिथिः",
"tabs": "दस्तावेजस्य प्रमुखः",
"toc": "सामग्रीसारणी",
"top": "पुनः उपरिभागं प्रति गच्छन्तु"
}[key] }}{% endmacro %}
55 changes: 55 additions & 0 deletions material/partials/languages/te.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "te",
"action.edit": "ఈ పేజీలో దిద్దుబాట్లు చేయండి",
"action.skip": "సమాచారానికి వెళ్లండి",
"action.view": "నేను ఈ పేజీ యొక్క మూలాన్ని చూడాలనుకుంటున్నాను",
"announce.dismiss": "దీన్ని మళ్లీ చూపవద్దు",
"blog.archive": "పాత వ్యాసం",
"blog.categories": "వర్గాలు",
"blog.categories.in": "లో",
"blog.continue": "చదవడం కొనసాగించండి",
"blog.draft": "ప్రారంభ రచన",
"blog.index": "సూచికకు తిరిగి వెళ్ళు",
"blog.meta": "సమాచారం గురించి సమాచారం",
"blog.references": "సంబంధిత సూచనలు",
"clipboard.copy": "దీనిని అనుకరించు",
"clipboard.copied": "దీనిని అతికించు",
"consent.accept": "నేను దీనిని అంగీకరిస్తున్నాను",
"consent.manage": "ఆకృతీకరణను నిర్వహించండి",
"consent.reject": "నేను దీనిని తిరస్కరిస్తున్నాను",
"footer": "అడిటిప్పణి",
"footer.next": "తదుపరి భాగం",
"footer.previous": "మునుపటి భాగం",
"header": "శీర్షిక విభాగం",
"meta.comments": "అభిప్రాయాలు",
"meta.source": "మూలం",
"nav": "మార్గదర్శక పట్టీ",
"readtime.one": "చదవడానికి ఒక నిమిషం పడుతుంది",
"readtime.other": "చదవడానికి # నిమిషాలు పడుతుంది",
"rss.created": "ఆర్ఎస్ఎస్ సేవ",
"rss.updated": "ఆర్ఎస్ఎస్ సేవ నుండి తాజా నవీకరణ",
"search": "వెతకండి",
"search.placeholder": "వెతకండి",
"search.share": "పంచుకోండి",
"search.reset": "తుడిచివేయు",
"search.result.initializer": "శోధనను ప్రారంభిస్తోంది",
"search.result.placeholder": "రాయడం ద్వారా వెతకడం ప్రారంభించండి",
"search.result.none": "సరిపోలే పత్రాలు లేవు",
"search.result.one": "ఒక సరిపోలే పత్రం",
"search.result.other": "# సరిపోలే పత్రాలు",
"search.result.more.one": "ఈ పేజీలో మరొకటి",
"search.result.more.other": "ఈ పేజీలో ఇంకా # ఉన్నాయి",
"search.result.term.missing": "తప్పిపోయింది",
"select.language": "భాషను ఎంచుకోండి",
"select.version": "సంస్కరణను ఎంచుకోండి",
"source": "భండారానికి వెళ్ళండి",
"source.file.contributors": "సహకారులు",
"source.file.date.created": "సృష్టించబడింది",
"source.file.date.updated": "చివరి నవీకరణ",
"tabs": "వివిధ కిటికీలు",
"toc": "విషయ సూచిక",
"top": "పైకి తిరిగి వెళ్ళు"
}[key] }}{% endmacro %}
3 changes: 3 additions & 0 deletions src/.overrides/hooks/translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
"it": "it",
"ja": "jp",
"ka": "ge",
"kn": "in",
"ko": "kr",
"ku-IQ": "iq",
"lt": "lt",
Expand All @@ -167,12 +168,14 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
"pt": "pt",
"ro": "ro",
"ru": "ru",
"sa": "in",
"sh": "rs",
"si": "lk",
"sk": "sk",
"sl": "si",
"sr": "rs",
"sv": "se",
"te": "in",
"th": "th",
"tl": "ph",
"tr": "tr",
Expand Down
75 changes: 75 additions & 0 deletions src/partials/languages/kn.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<!--
Copyright (c) 2016-2023 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
-->

<!-- Translations: Kannada -->
{% macro t(key) %}{{ {
"language": "kn",
"action.edit": "ಈ ಪುಟವನ್ನು ತಿದ್ದುಪಡಿ ಮಾಡಿ",
"action.skip": "ವಿಷಯಕ್ಕೆ ತೆರಳಿ",
"action.view": "ಈ ಪುಟದ ಮೂಲವನ್ನು ವೀಕ್ಷಿಸಿ",
"announce.dismiss": "ಇದನ್ನು ಮತ್ತೊಮ್ಮೆ ತೋರಿಸಬೇಡಿ",
"blog.archive": "ಹಳೆಯ ಲೇಖನ",
"blog.categories": "ವರ್ಗಗಳು",
"blog.categories.in": "ರಲ್ಲಿ",
"blog.continue": "ಓದು ಮುಂದುವರೆಸಿ",
"blog.draft": "ಆರಂಭಿಕ ಬರವಣಿಗೆ",
"blog.index": "ಸೂಚ್ಯಂಕಕ್ಕೆ ಹಿಂತಿರುಗಿ",
"blog.meta": "ಮಾಹಿತಿಯ ಬಗ್ಗೆ ಮಾಹಿತಿ",
"blog.references": "ಸಂಬಂಧಿತ ಉಲ್ಲೇಖಗಳು",
"clipboard.copy": "ಇದನ್ನು ನಕಲಿಸಿ",
"clipboard.copied": "ಇದನ್ನು ನಕಲು ಮಾಡಿದೆ",
"consent.accept": "ನಾನು ಇದನ್ನು ಒಪ್ಪಿಕೊಳ್ಳುತ್ತೇನೆ",
"consent.manage": "ಸಂರಚನೆಯನ್ನು ನಿರ್ವಹಿಸಿ",
"consent.reject": "ನಾನು ಇದನ್ನು ತಿರಸ್ಕರಿಸುತ್ತೇನೆ",
"footer": "ಅಡಿಟಿಪ್ಪಣಿ",
"footer.next": "ಮುಂದಿನ ಸಂಚಿಕೆ",
"footer.previous": "ಹಿಂದಿನ ಸಂಚಿಕೆ",
"header": "ಮೇಲ್ಟಿಪ್ಪಣಿ",
"meta.comments": "ಪ್ರತಿಕ್ರಿಯೆಗಳು",
"meta.source": "ಮೂಲ",
"nav": "ಸಂಚರಣೆ",
"readtime.one": "ಓದಲು ೧ ನಿಮಿಷ ತೆಗೆದುಕೊಳ್ಳುತ್ತದೆ",
"readtime.other": "ಓದಲು # ನಿಮಿಷಗಳನ್ನು ತೆಗೆದುಕೊಳ್ಳುತ್ತದೆ",
"rss.created": "ಆರ್ಎಸ್ಎಸ್ ಸೇವೆ",
"rss.updated": "ಆರ್ಎಸ್ಎಸ್ ಸೇವೆಯಿಂದ ಇತ್ತೀಚಿನ ನವೀಕರಣ",
"search": "ಹುಡುಕಿ",
"search.placeholder": "ಹುಡುಕಿ",
"search.share": "ಹಂಚಿಕೊಳ್ಳಿ",
"search.reset": "ಅಳಿಸು",
"search.result.initializer": "ಹುಡುಕಾಟವನ್ನು ಪ್ರಾರಂಭಿಸಲಾಗುತ್ತಿದೆ",
"search.result.placeholder": "ಬರೆಯುವ ಮೂಲಕ ಹುಡುಕಲು ಪ್ರಾರಂಭಿಸಿ",
"search.result.none": "ಹೊಂದಾಣಿಕೆಯಾಗುವ ದಾಖಲೆಗಳಿಲ್ಲ",
"search.result.one": "೧ ಹೊಂದಾಣಿಕೆಯ ದಾಖಲೆಯಿದೆ",
"search.result.other": "# ಹೊಂದಾಣಿಕೆಯ ದಾಖಲೆಗಳಿವೆ",
"search.result.more.one": "ಈ ಪುಟದಲ್ಲಿ ಇನ್ನೂ ಒಂದು ಕಂಡುಬಂದಿದೆ",
"search.result.more.other": "ಈ ಪುಟದಲ್ಲಿ ಇನ್ನೂ # ಇವೆ",
"search.result.term.missing": "ಕಾಣೆಯಾಗಿದೆ",
"select.language": "ಭಾಷೆಯನ್ನು ಆಯ್ಕೆಮಾಡಿ",
"select.version": "ಆವೃತ್ತಿಯನ್ನು ಆಯ್ಕೆಮಾಡಿ",
"source": "ಭಂಡಾರಕ್ಕೆ ಹೋಗಿ",
"source.file.contributors": "ಕೊಡುಗೆದಾರರು",
"source.file.date.created": "ರಚಿಸಿದ ದಿನಾಂಕ",
"source.file.date.updated": "ಕೊನೆಯ ನವೀಕರಣ ದಿನಾಂಕ",
"tabs": "ವಿವಿಧ ಕಿಟಕಿಗಳು",
"toc": "ವಿಷಯಗಳ ಪಟ್ಟಿ",
"top": "ಮೇಲಕ್ಕೆ ಹಿಂತಿರುಗಿ"
}[key] }}{% endmacro %}
Loading

0 comments on commit 84959a5

Please sign in to comment.