GNOME Bugzilla – Bug 323408
Custom menu initialised in wrong language
Last modified: 2005-12-07 13:50:12 UTC
Distribution: Debian testing/unstable Package: bluefish Severity: normal Version: GNOME2.10.2 1.0.4 Gnome-Distributor: Debian Synopsis: UI language selection logic wrong and inconsistent Bugzilla-Product: bluefish Bugzilla-Component: general Bugzilla-Version: 1.0.4 Description: Description of Problem: With LANG=fr_LU.UTF-8 and LC_MESSAGES=en_GB.UTF-8, some menus are in French and others in English. All should be in English. The menu bar starting with "Custom menu" is in French, except for this first entry. Steps to reproduce the problem: 1. export LANG=fr_LU.UTF-8 LC_MESSAGES=en_GB.UTF-8 2. bluefish 3. click on "Apache" in lower menu bar Actual Results: French Expected Results: English How often does this happen? Always. Additional Information: This menu bar seems to be stuck in French, whatever the LC_MESSAGE/LANG settings are. ------- Bug moved to this database by unknown@gnome.bugs 2005-12-06 23:11 UTC -------
as indicated by the term 'Custom', this menu bar is fully editable. It is, therefore, initialized once, in the language of the user, and then stored in the config file, such that the user may add, delete or change entries. To get rid of the French entries, just delete them, from the custom menu editor, or in the config file.
Then the bug is "the language it is initialised in is wrong". It should have been initialised in English (following LC_MESSAGES), not in French. (I'm assuming that "rm -rf ~/.bluefish" suffices to force a new initialisation.)
For reference the right algorithm is: - If LC_ALL is set and non-null, follow it. - Else if LC_MESSAGES is set and non-null, follow it. - Else if LANG is set and non-null, follow it. You may support the GNU-specific LANGUAGE extension if you wish.
perhaps I was too quick closing the bug, sorry for that bluefish *should* use the current language when initializing the custom menu. So only if your language was set to French it should have used the French translated custom menu defaults. are you sure you have never started bluefish in French?
hmm now I see, you have a different LC_MESSAGES from LANG, and you argue that the menu should be initialized following LC_MESSAGES instead of LANG. Confirming the bug, if you are right about the meaning of LC_MESSAGES and LANG it should be fixed indeed (I have to look into the specs to see what they exactly mean).
fixed in CVS!