onionshare/docs
Hosted Weblate a28b9b5a29
Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/

Translated using Weblate (Russian)

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (Russian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ru/

Translated using Weblate (Bengali)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Bengali)

Currently translated at 4.1% (1 of 24 strings)

Translated using Weblate (Bengali)

Currently translated at 54.5% (6 of 11 strings)

Translated using Weblate (Bengali)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/bn/

Translated using Weblate (Dutch)

Currently translated at 0.0% (0 of 29 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (60 of 60 strings)

Translated using Weblate (Polish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pl/

Translated using Weblate (French)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (French)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (French)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (French)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/fr/

Translated using Weblate (French)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 58.3% (14 of 24 strings)

Translated using Weblate (Polish)

Currently translated at 78.7% (26 of 33 strings)

Translated using Weblate (Galician)

Currently translated at 4.1% (1 of 24 strings)

Translated using Weblate (French)

Currently translated at 71.6% (43 of 60 strings)

Translated using Weblate (French)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (French)

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (French)

Currently translated at 84.8% (28 of 33 strings)

Translated using Weblate (Khmer (Central))

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Khmer (Central))

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Khmer (Central))

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (Khmer (Central))

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (Khmer (Central))

Currently translated at 100.0% (60 of 60 strings)

Translated using Weblate (Khmer (Central))

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Khmer (Central))

Currently translated at 96.2% (26 of 27 strings)

Translated using Weblate (Khmer (Central))

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Khmer (Central))

Currently translated at 7.1% (2 of 28 strings)

Co-authored-by: AHOHNMYC <lqwh2h2cwa@protonmail.com>
Co-authored-by: AO Localisation Lab <ao@localizationlab.org>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Atrate <Atrate@protonmail.com>
Co-authored-by: ButterflyOfFire <ButterflyOfFire@protonmail.com>
Co-authored-by: Erin McConnell <erinm@riseup.net>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Oymate <dhruboadittya96@gmail.com>
Co-authored-by: Rafał Godek <p3run@tutanota.com>
Co-authored-by: Rasy Chum <rasychum@gmail.com>
Co-authored-by: Sophat CHY <sophatchy@gmail.com>
Co-authored-by: Xosé M <xosem@disroot.org>
Co-authored-by: aezjrareareare <jeromechaland@riseup.net>
Co-authored-by: eulalio <eulalio@disroot.org>
Co-authored-by: lx3k <lx3kvdms@anonaddy.me>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/km/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/nl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/km/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/km/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/km/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/bn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/gl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/bn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/ja/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/km/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/bn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/pl/
Translation: OnionShare/Doc - Advanced
Translation: OnionShare/Doc - Develop
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Help
Translation: OnionShare/Doc - Index
Translation: OnionShare/Doc - Install
Translation: OnionShare/Doc - Security
Translation: OnionShare/Doc - Sphinx
Translation: OnionShare/Doc - Tor
2022-07-04 23:08:52 +02:00
..
gettext Update final locales for 2.5 2022-01-17 10:33:13 -08:00
source Translated using Weblate (Spanish) 2022-07-04 23:08:52 +02:00
build.sh Update final locales for 2.5 2022-01-17 10:33:13 -08:00
check-weblate.py Wait between weblate API requests to avoid hammering the server 2021-11-26 10:51:30 -08:00
make.bat Start adding documentation into the source tree 2020-08-23 22:52:43 -04:00
Makefile Start adding documentation into the source tree 2020-08-23 22:52:43 -04:00
poetry.lock Update docs poetry deps 2022-01-16 14:19:30 -08:00
pyproject.toml Write script that uses the weblate API to help determine which languages are ready for a release 2021-05-10 18:05:41 -07:00
README.md Fix whitespace issues 2021-10-14 21:48:12 +00:00

OnionShare Documentation

All these commands must be run from the docs folder.

You must have the python dependencies installed to build the docs:

poetry install

To build HTML docs:

poetry run make html

Then open docs/build/html/index.html in a browser to see it.

To update all of the translations and build all the html, run:

poetry run ./build.sh

You will end up with the documentation in all supported locales in docs/localized_html.

Here's how preparing translations works:

# Generate .po files in build/gettext
make gettext

# Create a new blank German locale in source/locale, based on .po files
sphinx-intl update -p build/gettext -l de

# Build German translated document
make -e SPHINXOPTS="-D language='de'" html

Discoving which translations are >90% complete

Each OnionShare release should only include a language if >90% of the strings have been translated into it. The script check-weblate.py script can be used to make a few hundreds weblate API requests to determine this for you automatically. It requires using your weblate API key, which you can find in your user profile.

$ poetry run ./check-weblate.py $WEBLATE_API_KEY
GET https://hosted.weblate.org/api/projects/onionshare/languages/
GET https://hosted.weblate.org/api/translations/onionshare/translations/hr/
GET https://hosted.weblate.org/api/translations/onionshare/translations/eo/
GET https://hosted.weblate.org/api/translations/onionshare/translations/ja/
<...snip...>
GET https://hosted.weblate.org/api/translations/onionshare/doc-tor/wo/ | error 404
GET https://hosted.weblate.org/api/translations/onionshare/doc-tor/ar/
GET https://hosted.weblate.org/api/translations/onionshare/doc-tor/it/

App translations >= 100%
=======================
English (en), 100.0%

App translations >= 90%
=======================
Arabic (ar), 95.0%
Bengali (bn), 95.0%
Catalan (ca), 93.5%
Chinese (Simplified) (zh_Hans), 98.0%
Chinese (Traditional) (zh_Hant), 95.0%
Croatian (hr), 95.0%
Danish (da), 94.5%
Dutch (nl), 92.6%
French (fr), 98.0%
Galician (gl), 97.5%
German (de), 95.0%
Greek (el), 98.0%
Icelandic (is), 98.0%
Indonesian (id), 98.0%
Italian (it), 94.5%
Japanese (ja), 94.5%
Kurdish (Central) (ckb), 94.5%
Norwegian Bokmål (nb_NO), 98.0%
Polish (pl), 95.0%
Portuguese (Brazil) (pt_BR), 95.0%
Portuguese (Portugal) (pt_PT), 92.6%
Russian (ru), 95.0%
Serbian (latin) (sr_Latn), 95.0%
Slovak (sk), 94.5%
Spanish (es), 98.0%
Swedish (sv), 94.5%
Turkish (tr), 98.0%
Ukrainian (uk), 98.0%

App translations >= 80%
=======================
Finnish (fi), 88.1%

Docs translations >= 100%
========================
English (en), 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%
Turkish (tr), 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%
Ukrainian (uk), 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%

Docs translations >= 90%
========================


Docs translations >= 80%
========================
German (de), 90.6%, 100.0%, 82.1%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%
Greek (el), 90.6%, 100.0%, 82.1%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%
Russian (ru), 90.6%, 100.0%, 82.1%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%
Spanish (es), 90.6%, 100.0%, 82.1%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%