Bug 313644

Summary: The installer is not listing pt-br (portugueses from Brazil) among the languages
Product: kde-windows Reporter: Leonardo Barichello <barichello>
Component: installerAssignee: KDE-Windows <kde-windows>
Status: RESOLVED FIXED    
Severity: normal CC: ralf.habacker
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Leonardo Barichello 2013-01-21 18:02:00 UTC
The installer is not listing pt-br (portugueses from Brazil) among the languages.
The error was verified at Windows XP and Windows 7 and installer versions 0.9.9.4 and 0.9.9.7.
At july 20011 (with kde 4.7), everything was working fine.

Moreover, I checked and all the needed files are available at the repository (http://www.winkde.org/pub/kde/ports/win32/repository-4.8/kde/) and after a manual installation, the language works fine.
The last 2 things I realized: "pt_BR" is the only language code with the sintax "??_??" and using capitalyzed letter.

Reproducible: Always

Steps to Reproduce:
1. Run the installer and try to select pt_BR in the Language package section
Actual Results:  
pt_BR is not listed

Expected Results:  
Lists pt_BR
Comment 1 Ralf Habacker 2013-01-21 21:54:29 UTC
The same issue happens with zh_... language files.
Comment 2 Ralf Habacker 2013-01-21 21:55:21 UTC
Git commit f6e526a00b5b0aea4db62665c6439205a4496c11 by Ralf Habacker.
Committed on 21/01/2013 at 22:48.
Pushed by habacker into branch 'master'.

Fixed wrong assumption that only lower case package names are used:
Language packages may use upper case language postfixes eg. _BR.

M  +1    -4    shared/packageinfo.cpp

http://commits.kde.org/kdewin-installer/f6e526a00b5b0aea4db62665c6439205a4496c11