-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bill Allombert wrote: > On Thu, Jan 25, 2007 at 04:07:13PM +0200, Eddy Petri??or wrote: >> Hello, >> >> I am using an Etch system with GNOME and I have seen that the Debian >> menu is not localized in Romanian, although a translation exists. > > Hello Eddy, thanks for your bug report.
Hi Bill, > First there is a known issue with menu/glibc: if it is run under C locale > or invalid locale, then the GNOME/KDE will not be translated. This can > happen if you use a program to become root that discard locale. What program might that be (I mean examples, so I can identify if I used any of them? > If it is not the issue here, I would need you to check whether menu-xdg > is installed and whether the file > /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory > is correctly i18nized. > menu-xdg is installed and the file is correctly localized. [EMAIL PROTECTED] ~ $ LANG=C apt-cache policy menu-xdg menu-xdg: Installed: 0.2.3 Candidate: 0.2.3 Version table: *** 0.2.3 0 900 http://eddyp.homelinux.net etch/main Packages -10 http://eddyp.homelinux.net sid/main Packages 900 http://ftp.ro.debian.org etch/main Packages 100 /var/lib/dpkg/status [EMAIL PROTECTED] ~ $ cat /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory [Desktop Entry] Type=Directory Encoding=UTF-8 Name=Apps Name[ar]=Apps Name[be]=Apps Name[bg]=Apps Name[bn]=Apps Name[bs]=Apps Name[ca]=Apps Name[cs]=Apps Name[da]=Apps Name[de]=Apps Name[dz]=Apps Name[el]=Apps Name[eo]=Apps Name[es]=Apps Name[eu]=Apps Name[fi]=Apps Name[fr]=Apps Name[gl]=Apps Name[gu]=Apps Name[he]=Apps Name[hi]=Apps Name[hr]=Apps Name[hu]=Apps Name[id]=Apps Name[it]=Apps Name[ja]=Apps Name[km]=Apps Name[ko]=Apps Name[ku]=Apps Name[lt]=Apps Name[mk]=Apps Name[ml]=Apps Name[nb]=Apps Name[ne]=Apps Name[nl]=Apps Name[nn]=Apps Name[pl]=Apps Name[pt]=Apps Name[pt_BR]=Apps Name[ro]=Aplicaţii Name[ru]=Apps Name[sk]=Apps Name[sq]=Apps Name[sv]=Apps Name[ta]=Apps Name[th]=Apps Name[tl]=Apps Name[tr]=Apps Name[uk]=Apps Name[vi]=Apps Name[wo]=Apps Name[zh_CN]=Apps Name[zh_TW]=Apps Comment= Icon=debian-apps > Also I would like to see > ls -l /etc/menu-methods/ > and > update-menus -v (as root) Well, there is a small problem. Before issuing these commands the menu was localized, but after the update-menus command it returned to English. [EMAIL PROTECTED] ~ $ ls -l /etc/menu-methods/ total 48 - -rwxr-xr-x 1 root root 1209 2006-12-09 03:10 gnome-panel-data - -rw-r--r-- 1 root root 1143 2006-12-09 03:10 gnome-vfolder-user - -rw-r--r-- 1 root root 242 2006-12-22 17:06 lang.h - -rw-r--r-- 1 root root 31 2006-12-22 17:06 menu.config - -rw-r--r-- 1 root root 3085 2006-12-22 17:06 menu.h - -rwxr-xr-x 1 root root 1392 2006-03-20 15:44 menu-xdg - -rw-r--r-- 1 root root 391 2006-12-22 17:06 README - -rw-r--r-- 1 root root 1248 2006-12-22 17:06 translate_menus - -rwxr-xr-x 1 root root 1111 2006-05-22 02:35 twm - -rwxr-xr-x 1 root root 1400 2006-03-20 15:44 xdg-desktop-entry-spec-apps - -rwxr-xr-x 1 root root 1381 2006-03-20 15:44 xdg-desktop-entry-spec-dirs - -rwxr-xr-x 1 root root 1326 2006-03-20 15:44 xdg-desktop-entry-spec-sessions [EMAIL PROTECTED] ~ $ su -c 'update-menus -v' Password: update-menus[1000]: Dpkg is not locking dpkg status area, good. update-menus[1000]: Reading installed packages list... update-menus[1000]: Reading menu-entry files in /etc/menu/. update-menus[1000]: 0 menu entries found (0 total). update-menus[1000]: Reading menu-entry files in /usr/lib/menu/. update-menus[1000]: 0 menu entries found (0 total). update-menus[1000]: Reading menu-entry files in /usr/share/menu/. update-menus[1000]: 171 menu entries found (171 total). update-menus[1000]: Reading menu-entry files in /usr/share/menu/default/. update-menus[1000]: file /usr/share/menu/default/ash line 2: Discarding entry requiring missing package ash. update-menus[1000]: 0 menu entries found (171 total). update-menus[1000]: Running menu-methods in /etc/menu-methods/. update-menus[1000]: Running method: /etc/menu-methods/xdg-desktop-entry-spec-sessions update-menus[1000]: Running method: /etc/menu-methods/xdg-desktop-entry-spec-dirs update-menus[1000]: Running method: /etc/menu-methods/menu-xdg update-menus[1000]: Running method: /etc/menu-methods/twm update-menus[1000]: Running method: /etc/menu-methods/gnome-panel-data update-menus[1000]: Running method: /etc/menu-methods/xdg-desktop-entry-spec-apps > >> I am also using GNOME in Etch on another system which at the moment >> shows the Debian menu localized, but I remember I've seen it "slip" >> before. >> >> I tried running update-menus both as root and as a regular user, but the >> menu wasn't updated (well, the translation didn't appear). > > Please run update-menus --remove as a regular user. This resulted in an error. $ update-menus --remove Warning: script /etc/menu-methods/gnome-panel-data does not provide removemenu, menu not deleted - -- Regards, EddyP ============================================= "Imagination is more important than knowledge" A.Einstein -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFvby+Y8Chqv3NRNoRAp4CAKDL580UVjFaDiQ9KWZT5MMyf5EdDgCgmEbV 0lmg10P9hqIj+Pir3uPnNvo= =CFQ/ -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]