Skip to content

Comments

FIX issue 16: Build missing translations branches with nearest one.#17

Merged
JulienPalard merged 1 commit intopython:masterfrom
JulienPalard:issue16-3.7-fr
Aug 1, 2017
Merged

FIX issue 16: Build missing translations branches with nearest one.#17
JulienPalard merged 1 commit intopython:masterfrom
JulienPalard:issue16-3.7-fr

Conversation

@JulienPalard
Copy link
Member

@JulienPalard JulienPalard commented Jul 30, 2017

see: #16

I first though missing translations (typiaclly 3.7) should fail more cleanly than an exception logged with full stacktrace, probably something like "INFO: No translation for branch 3.7 in lang fr". But doing so I though we should probably just build them with the nearest translation, like 3.6, as lots of string are in common.

Tested locally with:

python3 ./build_docs.py --git --build-root /tmp/build_root/ --www-root /srv/docs.python.org --log-directory /tmp/log_root/ --skip-cache --quick

@JulienPalard JulienPalard merged commit 6922a3d into python:master Aug 1, 2017
@JulienPalard JulienPalard deleted the issue16-3.7-fr branch October 15, 2017 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant