Fallback to "en" when the localized doc is not found

Authored by ltoscano on Apr 2 2017, 11:52 PM.

Description

Fallback to "en" when the localized doc is not found

Try to fallback to "en" when the requested documentation is not
found for the selected language, and switch the language.
This ensures that some documentation is always found, like
KHelpCenter does.

This does not match the request of the bug (selection of
the available languages for each document) but it should help
until the site is restructured.
CCBUG: 359822

Details

Committed
ltoscanoApr 2 2017, 11:56 PM
Parents
R184:46dcbd6b92b3: Comment out a useless echo with debug messages
Branches
Unknown
Tags
Unknown