Strange menu behaviour with fr locale

Brian J. Tarricone bjt23 at cornell.edu
Fri Feb 17 17:27:34 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Olivier Fourdan wrote:
> Hi all,
> 
> I'm seeing something odd with the xfce menu. If the locale is C, 
> everything is fine. If I switch to french, the settigns menu is all 
> empty but the main xfce-setting-show entry. Every single other setting 
> entry is missing.
> 
> 
> The locale is set for fr_FR.UTF-8
> 
> LANG=fr_FR.UTF-8
> LC_CTYPE="fr_FR.UTF-8"
> LC_NUMERIC="fr_FR.UTF-8"
> LC_TIME="fr_FR.UTF-8"
> LC_COLLATE="fr_FR.UTF-8"
> LC_MONETARY="fr_FR.UTF-8"
> LC_MESSAGES="fr_FR.UTF-8"
> LC_PAPER="fr_FR.UTF-8"
> LC_NAME="fr_FR.UTF-8"
> LC_ADDRESS="fr_FR.UTF-8"
> LC_TELEPHONE="fr_FR.UTF-8"
> LC_MEASUREMENT="fr_FR.UTF-8"
> LC_IDENTIFICATION="fr_FR.UTF-8"
> 
> I don't know what might be causing that as I'm seeing the problem on 
> both of my systems being very different by nature, one i386 running an 
> old FC2 and a x86_64 running Ubuntu 5.10.
> 
> Any hint where I should start digging? I'm not very familiar with the 
> menu spec either.

Works ok here, though there are some entries (from .desktop files) that
aren't translated that should be.  Like I have "Parametrage de l'ecran",
but I also have just "Desktop Settings", even though
xfce-backdrop-settings.desktop has a Name[fr]= entry.  Weird.  Oh, no it
isn't.  Seems like GenericName[fr] is missing, so it's using the English
GenericName.  Should probably first check GenericName[(locale)], then
Name[(locale)] if missing, then GenericName, then finally Name.  Hmm.

But anyway, no idea what the problem is that you're seeing.
Unfortunately I don't know all that much about i18n.  Did you try
deleting ~/.cache/xfce4/desktop/menu-cache* and then running 'xfdesktop
- -reload'?  If that fixes it, I need to fix the cache...

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD9fl26XyW6VEeAnsRAkfIAJ9IBKn9ADOFvHIiGa7H3bj+VP4ctgCePGIn
nJbdGeBa0SZJuJUNIaKGOk8=
=gkcM
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list