After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 323408 - Custom menu initialised in wrong language
Custom menu initialised in wrong language
Status: RESOLVED FIXED
Product: bluefish
Classification: Other
Component: application
1.0.4
Other other
: Normal normal
: ---
Assigned To: Bluefish Maintainer(s)
Bluefish Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2005-12-06 23:11 UTC by Lionel Elie Mamane
Modified: 2005-12-07 13:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lionel Elie Mamane 2005-12-06 23:11:27 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 -------

Comment 1 Olivier Sessink 2005-12-07 07:54:06 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.
Comment 2 Lionel Elie Mamane 2005-12-07 08:24:34 UTC
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.)
Comment 3 Lionel Elie Mamane 2005-12-07 08:43:31 UTC
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.
Comment 4 Olivier Sessink 2005-12-07 09:16:10 UTC
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?

Comment 5 Olivier Sessink 2005-12-07 09:35:35 UTC
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).
Comment 6 Olivier Sessink 2005-12-07 13:50:12 UTC
fixed in CVS!