Bug 113317

Summary: SL10_LOC - Linux - jp - Beta3 050826 - Firefox untranslated
Product: [openSUSE] SUSE LINUX 10.0 Reporter: John-Carl Kullmann <johnk>
Component: SelectionsAssignee: Wolfgang Rosenauer <wolfgang.rosenauer>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: davidbo, emmetw, sndirsch
Version: Beta 3Keywords: I18N, Japanese
Target Milestone: ---   
Hardware: x86   
OS: SUSE Other   
Whiteboard:
Found By: Localization Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Italian Locale text file attached.
Trad_Chinese Fierfox screenshot
Gnome screenshot showing translated Mozilla and untranslated Firefox

Description John-Carl Kullmann 2005-08-26 13:55:17 UTC
Detailed description: Firefox untranslated
Configuration: Suse 10
Build: Beta3 050826
Steps to reproduce:
1. Log in to KDE
2. Click the "Firefox" icon on the desktop.

Expected Result: Firefox should be completely localised.
Actual Result: Firefox is untranslated and language settings only show English
Comment 1 Jonathan Fisher 2005-08-26 14:45:09 UTC
Also occurs in Simplified Chinese Beta 3 050826
Comment 2 Wolfgang Rosenauer 2005-08-28 08:24:42 UTC
Firefox has translations for 
af-ZA
ast-ES
ca-AD
cs-CZ
cy-GB
da-DK
de-DE
el-GR
en-GB
es-AR
es-ES
eu-ES
fi-FI
fr-FR
ga-IE
he-IL
hu-HU
it-IT
ja-JP
ja-JPM
ko-KR
mk-MK
nb-NO
nl-NL
pa-IN
pl-PL
pt-BR
pt-PT
ro-RO
ru-RU
sk-SK
sl-SI
sq-AL
sv-SE
tr-TR
zh-CN
zh-TW

Those are the project provided localizations. If yours is missing we can't add
it easily. If your locale is in this list, we could have a bug which should be
fixed (if you have MozillaFirefox-translations installed)

If we need the locale for future versions it should somehow being supported from
the mozilla community so that it'll end up as supported locale in their i18n CVS.
Comment 3 Emmet Wildes 2005-08-29 09:01:46 UTC
This is also a bug for Italian, Beta3 050826.
Firefox opens up in English.

I selected Italian from the Language list and I added it and made it my 
default language.  I then restarted my machine and opened Firefox again and it 
was still in English.

Comment 4 Wolfgang Rosenauer 2005-08-29 09:11:57 UTC
Where have you selected italian?
In Edit->Preferences->General->Languages?
This is not the place to switch the UI language.
The UI language is inherited from your system locale in $LANG.
If this is 'c' or en-US or empty or something like that you'll end up with
Firefox in english (US).
Comment 5 Wolfgang Rosenauer 2005-08-29 10:16:56 UTC
LANG=ja_JP firefox works for me. So I think it's only a configuration issue.
Comment 6 Emmet Wildes 2005-08-29 10:23:27 UTC
The default system locale is set to POSIX.  When we open Firefox with these 
settings it opens up in English.

When we change the LANG from POSIX to it_IT.UTF8 and open Firefox it then 
appears translated.

But when close out of Firefox the LANG will go back to default POSIX and 
therefore re-open in English if launched.

I have attached a text file (locale.txt) of our default locale for you to have 
a look at.
Comment 7 Emmet Wildes 2005-08-29 10:24:12 UTC
Created attachment 47952 [details]
Italian Locale text file attached.
Comment 8 Emmet Wildes 2005-08-29 10:45:35 UTC
Hi,

We have this working fine for Italian but for Trad_Chinese we are still having 
problems.  All Locale settings are set correctly but Firefox is still opening 
in English.

Please see attached screenshot.
Comment 9 Emmet Wildes 2005-08-29 10:46:13 UTC
Created attachment 47956 [details]
Trad_Chinese Fierfox screenshot
Comment 10 Wolfgang Rosenauer 2005-08-29 10:53:08 UTC
LANG=zh_TW.UTF-8 firefox works for me, too.
Comment 11 Emmet Wildes 2005-08-29 10:58:24 UTC
Ok, we are going to reinstall and try it again.

We will let you know.
Thanks,
Comment 12 Emmet Wildes 2005-08-29 13:40:40 UTC
We have re-installed Trad_Chinese and firefox still opens in English, but 
could this be caused by another bug we have logged, 113845?

Comment 13 Craig Jeffares 2005-08-30 11:03:07 UTC
113845 is unrelated. Emmet can you try 2 things :

1. In a console try "rpm -qa | grep Mozilla" and see is
MozillaFirefox-translation appear in the output . If it does the transaltions
are included.

2. log in as a non-root user and try it. By default the root user has language
settings set to POSIX or blank so that would be why the UI is in english.
Comment 14 David Boyle 2005-08-30 12:37:28 UTC
Ran the above command and got the following output:
mozilla-nspr-devel-4.6-3
mozilla-zh-TW-1.7-6
mozilla-nss-3.10-12
mozilla-zh-CN-1.7-6
mozilla-1.7.11-9
mozilla-devel-1.7.11-9
mozilla-nspr-4.6-3
Comment 15 David Boyle 2005-08-30 12:38:25 UTC
Created attachment 48156 [details]
Gnome screenshot showing translated Mozilla and untranslated Firefox
Comment 16 Craig Jeffares 2005-08-30 13:22:06 UTC
try "rpm -qa | grep Mozilla" Upper case M as it should show you the
MozillaFirefox-1.0.6-4 Package and its not listed in your output.
Comment 17 Craig Jeffares 2005-08-30 13:47:38 UTC
So it seems that by default the Firefox translation rpm is not getting installed
for non-english languages. You have to manually install the rpm. Once you add it
manually it displays in all languages fine.

So to me it looks like a dependencies issue. So if a non-english language is
selected on install then it should install the mozilla translation rpm.

Wolfgang, Is this something you can fix or is it a yast / install issue ?
Comment 18 Wolfgang Rosenauer 2005-08-30 14:28:37 UTC
it would be a selection problem but AFAIK this has been fixed already before
beta3. So I don't think this is an selection issue.
But I miss the information if MozillaFirefox-translations is actually installed.
The output above is for mozilla and not Mozilla.
I still can't reproduce it. Up to now all languages I've tried opened up correctly.
Comment 19 Craig Jeffares 2005-08-30 14:53:53 UTC
From Dave by email..

On a pure zh_TW machine (i.e selected chinese Trad as the language from the
first install screen and then go with default package selections) he got :

> Hi Craig,
> 
> The output I get is:
> 
> MozillaFirefox‑ 1.0.6‑ 11
> 

Are you using a machine that is set up from a chinese Traditional install or
just a switched locale machine ?

We can try and give you vnc access to a machine if that helps ?
Comment 20 Wolfgang Rosenauer 2005-08-30 18:32:51 UTC
SSH login would be good if possible.

Adding sndirsch for selection checking.
Stefan, is the MozillaFirefox-translations package really in all language
selections? (it should even be in en-US installation IMHO, because there could
be users with different language settings)
Comment 21 Stefan Dirsch 2005-08-30 21:01:40 UTC
It's installed for: 
 
af 
ca 
da 
de 
cs 
cy 
el 
en 
es 
fi 
eu 
ga 
fr 
he 
hu 
ja 
it 
ko 
mk 
nb 
nl 
pa 
pl 
pt 
ro 
ru 
sk 
sl 
sq 
sv 
tr 
zh 
ast 
af 
ca 
da 
de 
cs 
cy 
el 
en 
es 
fi 
eu 
ga 
fr 
he 
hu 
ja 
it 
ko 
mk 
nb 
nl 
pa 
pl 
pt 
ro 
ru 
sk 
sl 
sq 
sv 
tr 
zh 
ast 
af 
ca 
da 
de 
cs 
cy 
el 
en 
es 
fi 
eu 
ga 
fr 
he 
hu 
ja 
it 
ko 
mk 
nb 
nl 
pa 
pl 
pt 
ro 
ru 
sk 
sl 
sq 
sv 
tr 
zh 
ast 
 
Comment 22 Craig Jeffares 2005-08-31 10:16:08 UTC
Wofgang, I'll organise access to the zh_TW machine and email details to you
directly.
Comment 23 Wolfgang Rosenauer 2005-08-31 12:35:49 UTC
I've checked the machine now. MozillaFirefox-translations is not installed.
I don't know why but checked the SelDB Files:

In Gnome.sel it's defined in zh but not in zh_CN or zh_TW. The system is
installed as zh_TW as I've seen in the y2log.
Stefan, could this be the reason? Or should zh always match for zh_CN and zh_TW?
Comment 24 Craig Jeffares 2005-08-31 13:21:51 UTC
please also check pt_BR incase the same issue exists with pt v's pt_BR

Comment 25 Stefan Dirsch 2005-08-31 13:54:15 UTC
fixed in selections for RC1.

-------------------------------------------------------------------
Wed Aug 31 16:16:40 CEST 2005 - sndirsch@suse.de

- added MozillaFirefox-translations for pt_BR, zh_CN, zh_TW
  (Bug #113317)
Comment 26 John-Carl Kullmann 2005-09-02 07:01:27 UTC
Fixed in Japanese build Beta 4 050901.
When logging in as non-root user, firefox is localised.
Comment 27 John-Carl Kullmann 2005-09-12 13:04:07 UTC
Fixed in Traditional Chinese build RC1 050909.
Comment 28 John-Carl Kullmann 2005-09-13 06:54:34 UTC
Fixed in Italian build RC1 050909.