https://bugs.kde.org/show_bug.cgi?id=415181

            Bug ID: 415181
           Summary: Wrong language code in docs.kde.org URL
           Product: frameworks-kguiaddons
           Version: 5.64.0
          Platform: MS Windows
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: aspotas...@gmail.com
  Target Milestone: ---

SUMMARY
Wrong language code in docs.kde.org URL: "ru_RU" for Russian, the site expects
"ru".

STEPS TO REPRODUCE
1. Run KTimeTracker
2. Press F1 (for Help -> KTimeTracker Handbook)

OBSERVED RESULT
Web browser opens with URL:
https://docs.kde.org/index.php?branch=stable5&language=ru_RU&application=ktimetracker&path=/

EXPECTED RESULT
Should be e.g.
https://docs.kde.org/index.php?branch=stable5&language=ru&application=ktimetracker&path=/

The language code format "ru_RU" is not supported by docs.kde.org.

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Apparently QLocale().name() returns "ru_RU" on Windows, see
kguiaddons.git/src/util/urlhandler.cpp.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to