Skip to content

Commit 10a2e47

Browse files
authored
Merge pull request #252 from NtskwK/i18n
2 parents 5b636a1 + 1884957 commit 10a2e47

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ updatepot:
3131

3232
# update the po files for each target language from the EN pot files
3333
updatelangpo:
34-
sphinx-intl update --pot-dir "source/locale/pot" --language cs,es,fil,fr,id,sw,te
34+
sphinx-intl update --pot-dir "source/locale/pot" --language cs,es,fil,fr,id,sw,te,zh
3535

3636
# push new and changed strings to Transifex
3737
pushlang:
3838
tx push --source
3939

4040
# push translated strings from Transifex
4141
pulllang:
42-
tx pull --language "cs,es,fil,fr,id,sw,te"
42+
tx pull --language "cs,es,fil,fr,id,sw,te,zh"
4343

4444
build:
4545
@$(SPHINXBUILD) -b dirhtml "$(SOURCEDIR)" "$(BUILDDIR)/html" -nW
@@ -50,6 +50,7 @@ build:
5050
@$(SPHINXBUILD) -b dirhtml -D language='id' "$(SOURCEDIR)" "$(BUILDDIR)/html/id" -nW
5151
@$(SPHINXBUILD) -b dirhtml -D language='sw' "$(SOURCEDIR)" "$(BUILDDIR)/html/sw" -nW
5252
@$(SPHINXBUILD) -b dirhtml -D language='te' "$(SOURCEDIR)" "$(BUILDDIR)/html/te" -nW
53+
@$(SPHINXBUILD) -b dirhtml -D language='zh' "$(SOURCEDIR)" "$(BUILDDIR)/html/zh" -nW
5354
# -n Run in nit-picky mode. Currently, this generates warnings for all missing references.
5455
# -W Turn warnings into errors that stop the build.
5556
# 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:
6566
@$(SPHINXBUILD) -v -b dirhtml -D language='id' "$(SOURCEDIR)" "$(BUILDDIR)/html/id"
6667
@$(SPHINXBUILD) -v -b dirhtml -D language='sw' "$(SOURCEDIR)" "$(BUILDDIR)/html/sw"
6768
@$(SPHINXBUILD) -v -b dirhtml -D language='te' "$(SOURCEDIR)" "$(BUILDDIR)/html/te"
69+
@$(SPHINXBUILD) -v -b dirhtml -D language='zh' "$(SOURCEDIR)" "$(BUILDDIR)/html/zh"
6870

6971
# Catch-all target: route all unknown targets to Sphinx using the new
7072
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).

source/index.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ There is a `guide <https://github.com/opendronemap/docs#how-to-make-your-first-c
1818

1919
The documentation is available in several languages. Some translations are incomplete and will still display in English. The below languages are at least 20 percent translated. You can help us translate those languages (and other languages!) via Transifex. There is a `getting started guide on GitHub <https://github.com/opendronemap/docs#translations>`_.
2020

21-
- `English <https://docs.opendronemap.org/>`_
22-
- `Czech <https://docs.opendronemap.org/cs>`_
23-
- `Filipino <https://docs.opendronemap.org/fil>`_
24-
- `French <https://docs.opendronemap.org/fr>`_
25-
- `Spanish <https://docs.opendronemap.org/es>`_
26-
- `Indonesian <https://docs.opendronemap.org/id>`_
27-
- `Swahili <https://docs.opendronemap.org/sw>`_
28-
- `Telugu <https://docs.opendronemap.org/te>`_
21+
- `English </>`_
22+
- `Czech </cs>`_
23+
- `Filipino </fil>`_
24+
- `French </fr>`_
25+
- `Spanish </es>`_
26+
- `Indonesian </id>`_
27+
- `Swahili </sw>`_
28+
- `Telugu </te>`_
29+
- `Chinese </zh>`_
2930

3031
|
3132
|

0 commit comments

Comments
 (0)