Bug 270929

Summary: YaST2 Control Center shows texts in pt_BR when pt_PT is in use
Product: [openSUSE] openSUSE 10.3 Reporter: Antonio Martins <digiplan.pt>
Component: YaST2Assignee: Karl Eichwalder <ke>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: cgoncalves, hugo.costelha, ke
Version: Alpha 6   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 10.2   
Whiteboard:
Found By: i18n Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST Software Section

Description Antonio Martins 2007-05-03 13:39:54 UTC
After installing a clean system, with the ONLY language as pt_PT, Control Center shows up messages translated to pt_BR incorrectly (they should be in pt_PT)
I have tested this many times, and it exists since SuSE version 9.x.
I am the pt_PT language translation coordinator, and i know those are not the correct texts, although they are also Portuguese, but from Brazil.
Comment 1 Antonio Martins 2007-05-04 13:13:38 UTC
I have noticed that the menus under YaST2 Control Center are correct (pt_PT) but icon labels are not (they are incorrect in pt_BR).
Comment 2 Antonio Martins 2007-06-12 23:06:30 UTC
With the help of Karl Eichwalder we have found that somewhere in the process of migrating translation files to svn server, some files were lost, being replaced by a pt_BR version.
The 10.2 release of openSUSE occured before we saw this error, so many messages were in pt_BR instead of pt_PT.
Translation files were recovered, and translation work is now being done.

I propose to close the bug
Comment 3 Carlos Gonçalves 2007-07-19 16:18:32 UTC
I'm reopening this bug report because it's still existing in openSUSE 10.3 alpha 6 (KDE CD install) and AFAIK it shouldn't (http://en.opensuse.org/Roadmap/10.3#Thu.2C_Jul_19_____openSUSE_10.3_Alpha6_release)

Maybe changing the Product field to openSUSE 10.3 would be better.
Comment 4 Karl Eichwalder 2007-07-20 06:40:28 UTC
It would help if you could attach a screenshot and check the desktop file from where the wrong translation originates.  Find the YaST desktop files in /usr/share/applications/YaST2 .

Maybe, I just must update update-desktop-files once again.
Comment 5 Carlos Gonçalves 2007-07-20 18:02:54 UTC
Wrong files (pt_PT isn't pt_BR)

groups/misc.desktop
groups/security.desktop
bootloader.desktop
bootmsg.desktop
cd_update.desktop
checkmedia.desktop
controller.desktop
dirinstall.desktop
disk.desktop
dns.desktop
firewall.desktop
groups.desktop
host.desktop
... (skipping - too much files :-/ but following this sequence they also should be wrong)
sw_single.desktop
sw_source.desktop
sysconfig.desktop
timezone.desktop
users.desktop
x11.desktop
yast-language.desktop


pt_PT == pt_BR (which doesn't means that it's using pt_PT translations):

groups/network_devices.desktop
groups/network_services.desktop
groups/system.desktop
dsl.desktop
tv.desktop


.desktop translation missing/not applied (maybe because the word in English and in Portuguese are the same?!):

groups/hardware.desktop
groups/software.desktop



Screenshot from all YaST tabs (Software, Hardware, etc)? Till your confirmation I'll only attach from one tab.
Comment 6 Carlos Gonçalves 2007-07-20 18:04:43 UTC
Created attachment 152244 [details]
YaST Software Section
Comment 7 Carlos Gonçalves 2007-07-20 21:43:17 UTC
Also happening with KControl displaying "Mouse" in Peripherals (en/pt_BR) instead of "Rato" (pt_PT) - need screenshot too?
On openSUSE 10.2 it's ok.
Comment 8 Antonio Martins 2007-07-20 22:10:07 UTC
Karl, considering the main screen in YaST2 Control Center, the screenshot shows the string "Gerenciamento de Software", that one is in pt_BR.
I looked that in all pt_PT tree, and this string doesn't show up anywhere.
Under pt_PT it should say "Gestão de Software", and i think is under lcn/pt/po/patterns.pt.po.

The screenshot that Carlos is showing is exactly the same as one from 10.2 retail.

Are you sure that openSUSE Alpha 6 have all translations from recent files, or are they just being copied from 10.2? If that is happening, we already knew that this error was there, and we should wait until recent translations are merged into 10.3 before jumping into more conclusions.

What do you think?
Comment 9 Carlos Gonçalves 2007-07-20 22:43:46 UTC
(In reply to comment #8 from Antonio Martins)
> Under pt_PT it should say "Gestão de Software", and i think is under
> lcn/pt/po/patterns.pt.po.

The string/text is also there but I believe we're talking about the string inside update-desktops-files.po - KBabel says "Name(sw_single.desktop)" which is the case.
Comment 10 Carlos Gonçalves 2007-07-21 12:43:55 UTC
Another one: GRUB is set to Brazilian Portuguese
Comment 11 Carlos Gonçalves 2007-08-11 02:18:03 UTC
About GRUB: please see BUG #271818
Comment 12 Karl Eichwalder 2007-08-23 09:41:50 UTC
As far as I can see, you updted update-desktop-files to fix the problem.  Can one of you please verify on the next beta whether the bug is finally gone?
Comment 13 Carlos Gonçalves 2007-08-23 18:42:24 UTC
Karl, update-desktop-files is ok now. GRUB issue stills on b2 (BUG #271818) but maybe it's not up to you, you lucky ;-)

Antonio, what do you have to say? Can we close this bug with resolution:fixed ?
Comment 14 Antonio Martins 2007-08-28 18:55:00 UTC
Portuguese version seems fine now, thank you karl.