refactor: migrate i18n files from YAML to TOML format and simplify structure (#1230)

* refactor: migrate i18n files from YAML to TOML format and simplify structure

* refactor: make translation file adjust to gohugoio/locales language code so date translation can work properly

* refactor: use hyphens instead of underscores for i18n, because that's how Hugo pick the translation file

* docs: update comments for i18n language availability and CJK language detection in hugo.toml.
This commit is contained in:
Jimmy
2026-01-25 21:01:32 +01:00
committed by GitHub
parent 406fcef7cd
commit c872a77edb
73 changed files with 1495 additions and 2303 deletions
+47
View File
@@ -0,0 +1,47 @@
toggleMenu = "मेनू टॉगल करें"
darkMode = "डार्क मोड"
[list]
section = "अनुभाग"
[list.page]
one = "{{ .Count }} पेज"
other = "{{ .Count }} पेज"
[list.subsection]
one = "उपधारा"
other = "उपखंड"
[article]
back = "पीछे"
tableOfContents = "विषयसूची"
relatedContent = "संबंधित सामग्री"
lastUpdatedOn = "अंतिम बार अपडेट किया गया"
[article.readingTime]
one = "{{ .Count }} मिनट पढ़ें"
other = "{{ .Count }} मिनट पढ़ें"
[notFound]
title = "404 नहीं मिला।"
subtitle = "यह पृष्ठ मौजूद नहीं है।"
[widget]
[widget.archives]
title = "अभिलेखागार"
more = "अधिक"
[widget.tagCloud]
title = "टैग"
[widget.categoriesCloud]
title = "श्रेणियाँ"
[search]
title = "खोज"
placeholder = "कुछ लिखें..."
resultTitle = "#PAGES_COUNT पेज (#TIME_SECONDS सेकंड)"
[footer]
builtWith = "निर्मित {{ .Generator }} के साथ"
designedBy = "थीम {{ .Theme }} द्वारा डिज़ाइन किया गया {{ .DesignedBy }}"