Bug 359822

Summary: Online help pages should offer choice of language for all existing translations
Product: [Websites] docs.kde.org Reporter: Salvo "LtWorf" Tomaselli <tiposchi>
Component: docs.kde.orgAssignee: Documentation Editorial Team <kde-doc-english>
Status: REPORTED ---    
Severity: wishlist CC: jakob, luigi.toscano
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Salvo "LtWorf" Tomaselli 2016-02-26 13:38:14 UTC
This one.

https://docs.kde.org/index.php?branch=stable5&language=it_IT&application=picmi&path=/

Don't put the broken link inside the application please.

Reproducible: Always
Comment 1 Jakob Gruber 2016-02-26 17:19:23 UTC
Where in the application is that link located?
Comment 2 Salvo "LtWorf" Tomaselli 2016-02-28 08:01:13 UTC
Pressing F1 or going in the help menu.
Comment 3 Jakob Gruber 2016-02-28 12:33:30 UTC
Works for me, even when setting LANG=it_IT.utf-8. It opens a local help file instead of online documentation. 

Not sure why behavior is different for you. Which distribution are you using?
Comment 4 Salvo "LtWorf" Tomaselli 2016-02-28 15:05:25 UTC
Debian Sid.

Which link does it open for you?
Comment 5 Jakob Gruber 2016-02-29 15:08:15 UTC
An offline help browser is opened on my machine. No idea why it tries to open a link for you, but I'll see if I can find out what's going on.
Comment 6 Luigi Toscano 2016-03-01 22:21:14 UTC
Please install khelpcenter. Also, the link is correct: there is no Italian version of picmi documentation unfortunately. One could argue that there should a redirect, but still the message is correct: "The branch stable5 is not available for the specified application/language." (picmi, it)
Comment 7 Jakob Gruber 2016-03-02 08:40:56 UTC
Moved to docs / docs.kde.org as suggested.

It would be nice if docs.kde.org would give users a choice of alternative languages (especially when the requested language doc does not exist).
Comment 8 Luigi Toscano 2017-04-02 23:56:20 UTC
Git commit 918578888af721d3e8b03de6e8d34086272b0622 by Luigi Toscano.
Committed on 02/04/2017 at 23:56.
Pushed by ltoscano into branch 'master'.

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.

M  +11   -1    index.php

https://commits.kde.org/websites/docs-kde-org/918578888af721d3e8b03de6e8d34086272b0622