Closed Bug 189625 Opened 22 years ago Closed 22 years ago

strange error message at the bottom of each mozilla window saying "menuitem position="5" label="&venkmanCmd.label;" after installing german (de) language pack and deleting us language pack

Categories

(Mozilla Localizations :: de / German, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: hjmauser, Assigned: kairo)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.2.1) Gecko/20021130

On several different machines where I installed Mozilla 1.2.1 and the german
language pack, I get an error message in bold red letters in an "enlarged"
status bar at the bottom of each window. The error message looks like this:

<menuitem position="5" label=&venkmanCmd.label;"" (line break) --^

It seems to occur most often if I want to delete the us language pack, sometimes
it does not show up until mozilla is closed and restarted several (about two or
three times). Probably it is also related to switching to the "modern" theme,
but at the moment, I cannot really give a definite answer to this.

I found a recommendation about deleting the cache folder and the files
chrome.rdf and xul.mfl, but it does not help on repairing existing profiles. If
I delete the whole profile and start with a new, plain one, in some cases it
works, but often the problem occurs again after restarting Mozilla several times.

Reproducible: Always

Steps to Reproduce:
1. install the localized German Mozilla build (or install the german language
pack on a system with original English language)
2. using a current profile (by former Netscape/Mozilla versions) or creating a
new one makes no difference in the end
3. configuring Mozilla to use the bundled "modern" theme and deletion of the us
language support
4. restarting mozilla (maybe several times)
Actual Results:  
The problem occurs - on the bottom of every Mozilla window an error message
appears, as described above. This message is displayed in a large area between
the status bar and the window bottom, so it consumes quite a lot of space.

Expected Results:  
There should be no such message.

If the bug appears once, it does not matter which theme is used. I think the
theme does not matter at all, but I could not get it out yet because in most
cases this error occurs first after several starts and exits of Mozilla.
Have a look at bug 168890. Do you think it's a similar problem? If so, you
should change the product category to Browser/Localization.
No, the problem is not the same.

The problem here is deleting the US pack. This step also removes the references
to the venkman translation, but there is no German translation for venkman, so
you're deleting all references to any existing venkman translations - it's
obvious that you get errors when there's no installed locale resource for that
package left.

There are three possible solutions:
1) Don't delete the en-US pack.
2) translate venkman. This is planned, but won't happen too soon. see bug 170055
3) When deleting a locale pack, don't remove references to locale packs that
only have one installed language currently. This would be the nice way, and was
filed as new bug 189692.

This bug report is INVALID though.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Today I tried something new: when deleting the ENTIRE profile directory AND the
files "chrome.rdf" and "chromelist.txt" from Mozillas's program directory after
deleting the US language pack, and then recreating a profile, it worked fine. So
it seems to leave something corrupted in at least one of the two named files (I
would suspect the "chrome.rdf", as the deletion of this file was recommended by
another user, but there it should only be removed within the PROFILE directory,
which does not help anymore if the error has appeared once).
chrome.rdf in Mozilla's program directory contains the chrome registry, and one
entry there is the locale for venkman that's the one which is deleted too much
because of bug 189692.
If you happen to have the correct entries still in installed-chrome.txt, it gets
recreated correctly. You may lose lots of other things though when deleting that
chrome.rdf file, you even risk a broken Mozilla build with that, so I'd never
recommend it (I have to admit it can work in many cases though).
BTW, I believe you have en-US back again after your changes...

Anyway, the three solutions in my previuos comment are the ones to go with.
v invalid, although it would be nice if the spun off bugs coul be tackled soon.
*sigh*
Status: RESOLVED → VERIFIED
*** Bug 198001 has been marked as a duplicate of this bug. ***
*** Bug 199292 has been marked as a duplicate of this bug. ***
*** Bug 203383 has been marked as a duplicate of this bug. ***
*** Bug 206397 has been marked as a duplicate of this bug. ***
*** Bug 207150 has been marked as a duplicate of this bug. ***
Attached patch asdfadfSplinter Review
qwerqw
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: