System settings regional settings has a duplicated pt-BR language option and has no option to select pt-PT. In the available languages it appears "português do Brasil" twice, it should be "português do Brasil" and "português de Portugal" Also, any of the options always applies pt-BR as the UI language. Reproducible: Always Steps to Reproduce: 1. Go to System Settings -> Regional Settings -> Language 2. Chose any of the options 3. Press 'Apply' 4. Restart session, language is always pt-BR for any of the options Actual Results: There are two pt-BR options Both of them apply the pt-BR language for the UI messages Expected Results: It should be an option for pt-PT The pt_PT option should apply the pt-PT translations for the UI messages
Confirmed with Plasma 5.3 / Kubuntu 15.04 fresh install in a VM
I found a similar problem with catalan and catalan from Valencia. The options string is «catalan» in both cases but each one point to the correct language (ca vs. ca@valencia) and you can see different translations. Are you shure that both options gives the same result for portuguese? If this is the case this bug is a duplicated of bug #345761
I can't find any visible change in any of the core KDE applications, all the messages remain the same. As far as I can perceive both options apply the same translation.
Git commit adb75ec59296ff17ef9d07a7cae0614235c592a6 by Albert Astals Cid. Committed on 23/08/2015 at 11:41. Pushed by aacid into branch 'Plasma/5.4'. Fix issues in translation control module Fixes two problems: * Variants not being shown up, i.e. ca ca@valencia showing up both as "català" * pt showing up as "português do Brasil" For the first one i've went the easy route of adding the languageCode if there's an @ in it For pt i had to hardcode it since i found no other way to make Qt understand that for "pt" we mean portuguese from portugal REVIEW: 124885 Related: bug 345761 M +15 -1 kcms/translations/kcmtranslations.cpp http://commits.kde.org/plasma-desktop/adb75ec59296ff17ef9d07a7cae0614235c592a6
I'm reopening this issue because it's not fixed. In the available languages indeed both languages appear (pt-PT and pt-BR) but when we move the European Portuguese to the preferred languages panel it still appear as Brazilian Portuguese. I'm attaching 2 new screenshots that reproduce the issue: https://www.dropbox.com/s/nirevtn4miljpw5/1-available-languages.png?dl=0 https://www.dropbox.com/s/o2qzl56zy2pj3lc/2-preferred-languages.png?dl=0
Created attachment 95252 [details] Available languages
Created attachment 95253 [details] Preferred languages
This is fixed in the rewritten Language KCM in 5.13.