From a72fbb405edc56f9260d94645ed1e0b9696346af Mon Sep 17 00:00:00 2001 From: NtskwK Date: Wed, 12 Nov 2025 15:42:54 +0800 Subject: [PATCH 1/2] docs: update documentation links to relative paths --- source/index.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source/index.rst b/source/index.rst index d2976edcc..fc5f09733 100644 --- a/source/index.rst +++ b/source/index.rst @@ -18,14 +18,14 @@ There is a `guide `_. -- `English `_ -- `Czech `_ -- `Filipino `_ -- `French `_ -- `Spanish `_ -- `Indonesian `_ -- `Swahili `_ -- `Telugu `_ +- `English `_ +- `Czech `_ +- `Filipino `_ +- `French `_ +- `Spanish `_ +- `Indonesian `_ +- `Swahili `_ +- `Telugu `_ | | From 1884957c808ca05bbc7c987dc993f209bd9a8359 Mon Sep 17 00:00:00 2001 From: NtskwK Date: Wed, 12 Nov 2025 15:43:47 +0800 Subject: [PATCH 2/2] feat(i18n): add Chinese language support --- Makefile | 6 ++++-- source/index.rst | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f81dd76fe..fe3196a67 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ updatepot: # update the po files for each target language from the EN pot files updatelangpo: - sphinx-intl update --pot-dir "source/locale/pot" --language cs,es,fil,fr,id,sw,te + sphinx-intl update --pot-dir "source/locale/pot" --language cs,es,fil,fr,id,sw,te,zh # push new and changed strings to Transifex pushlang: @@ -39,7 +39,7 @@ pushlang: # push translated strings from Transifex pulllang: - tx pull --language "cs,es,fil,fr,id,sw,te" + tx pull --language "cs,es,fil,fr,id,sw,te,zh" build: @$(SPHINXBUILD) -b dirhtml "$(SOURCEDIR)" "$(BUILDDIR)/html" -nW @@ -50,6 +50,7 @@ build: @$(SPHINXBUILD) -b dirhtml -D language='id' "$(SOURCEDIR)" "$(BUILDDIR)/html/id" -nW @$(SPHINXBUILD) -b dirhtml -D language='sw' "$(SOURCEDIR)" "$(BUILDDIR)/html/sw" -nW @$(SPHINXBUILD) -b dirhtml -D language='te' "$(SOURCEDIR)" "$(BUILDDIR)/html/te" -nW + @$(SPHINXBUILD) -b dirhtml -D language='zh' "$(SOURCEDIR)" "$(BUILDDIR)/html/zh" -nW # -n Run in nit-picky mode. Currently, this generates warnings for all missing references. # -W Turn warnings into errors that stop the build. # for more details about the options see https://www.sphinx-doc.org/en/1.8/man/sphinx-build.html#options @@ -65,6 +66,7 @@ allerr: @$(SPHINXBUILD) -v -b dirhtml -D language='id' "$(SOURCEDIR)" "$(BUILDDIR)/html/id" @$(SPHINXBUILD) -v -b dirhtml -D language='sw' "$(SOURCEDIR)" "$(BUILDDIR)/html/sw" @$(SPHINXBUILD) -v -b dirhtml -D language='te' "$(SOURCEDIR)" "$(BUILDDIR)/html/te" + @$(SPHINXBUILD) -v -b dirhtml -D language='zh' "$(SOURCEDIR)" "$(BUILDDIR)/html/zh" # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). diff --git a/source/index.rst b/source/index.rst index fc5f09733..4e8ec2be2 100644 --- a/source/index.rst +++ b/source/index.rst @@ -26,6 +26,7 @@ The documentation is available in several languages. Some translations are incom - `Indonesian `_ - `Swahili `_ - `Telugu `_ +- `Chinese `_ | |