Bug#408387: the Debian menu is (not consistently) localized
2008/11/6 Eddy Petrișor <[EMAIL PROTECTED]>: > 2008/11/5 Bill Allombert <[EMAIL PROTECTED]>: >> On Wed, Nov 05, 2008 at 03:27:08AM +0200, Eddy Petrișor wrote: > >>> >> >Is this behaviour correct? Are subdirectories allowed in >>> >> >~/.local/share/desktop-directories and does the standard say they should >>> >> >be recursively traversed in order to find more .directory files? > >>> Note that meanwhile I have seen the same issue on a fresh install, >>> too. The workaround I was talking about in my last mail worked like a >>> charm on the new system, too. >>> >>> > Actually you should have a file >>> > ~/.config/menus/debian-menu.menu >>> > which start by >>> > >>> > /home/eddy/.local/share/desktop-directories/menu-xdg >>> > which tell GNOME to look for directory files in >>> > /home/eddy/.local/share/desktop-directories/menu-xdg >>> >>> I do have that file and indeed that's how it looks like. See attachment. >>> But it seems this file doesn't do anything. I have removed the >>> symlinks that made the thing work, ran update-menus and the menus are >>> back in English. >>> >>> If I recreate the symlinks once more, and run update-menus I get the >>> localized version once more. So, I guess something's really off. >> >> Could you check whether in both case the file in >> /home/eddy/.local/share/desktop-directories/menu-xdg >> are correctly localized ? > > I assume that by "both" you mean with and without the hack: > > Without the hack: > > heidi:/home/eddy/.local/share/desktop-directories# update-menus > heidi:/home/eddy/.local/share/desktop-directories# egrep '\[ro\]' > /var/lib/menu-xdg/desktop-directories/menu-xdg/* | head > /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-accessibility.directory:Name[ro]=Accesibilitate > /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-data-management.directory:Name[ro]=Administrare > de date > /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications.directory:Name[ro]=Aplicații > /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-editors.directory:Name[ro]=Editoare > /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-emulators.directory:Name[ro]=Emulatoare > /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-file-management.directory:Name[ro]=Administrarea > fișierelor > /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-graphics.directory:Name[ro]=Grafică > /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-network-communication.directory:Name[ro]=Comunicare > /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-network.directory:Name[ro]=Rețele > /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-network-file-transfer.directory:Name[ro]=Transfer > de fișiere > > > 0 [EMAIL PROTECTED] ~/.config/menus $ update-menus -v > update-menus[24644]: Actualizarea meniului este executată de utilizator. > update-menus[24644]: Dpkg nu blochează zona de stare dpkg, foarte bine. > update-menus[24644]: Se citește lista cu pachete instalate... > update-menus[24644]: Se citesc regulile de translatare din > /etc/menu-methods/translate_menus. > update-menus[24644]: Se citesc fișierele cu intrări în meniu din > /home/eddy/.menu/. > update-menus[24644]: s-au găsit 0 intrări în meniu (0 în total). > update-menus[24644]: Se citesc fișierele cu intrări în meniu din /etc/menu/. > update-menus[24644]: s-au găsit 0 intrări în meniu (0 în total). > update-menus[24644]: Se citesc fișierele cu intrări în meniu din > /usr/lib/menu/. > update-menus[24644]: s-au găsit 0 intrări în meniu (0 în total). > update-menus[24644]: Se citesc fișierele cu intrări în meniu din > /usr/share/menu/. > update-menus[24644]: fișierul /usr/share/menu/openjdk-6-jre linia 8: > Se ignoră intrările care necesită pachetul lipsă openjdk-6-bin. > update-menus[24644]: s-au găsit 288 intrări în meniu (288 în total). > update-menus[24644]: Se citesc fișierele cu intrări în meniu din > /usr/share/menu/default/. > update-menus[24644]: s-au găsit 0 intrări în meniu (288 în total). > update-menus[24644]: Se execută metodele-meniu în /home/eddy/.menu-methods/. > update-menus[24644]: Se execută metodele-meniu în /etc/menu-methods/. > update-menus[24644]: Se execută metoda: > /etc/menu-methods/xdg-desktop-entry-spec-apps > update-menus[24644]: Se execută metoda: > /etc/menu-methods/xdg-desktop-entry-spec-dirs > update-menus[24644]: Se execută metoda: /etc/menu-methods/fluxbox > update-menus[24644]: Se execută metoda: > /etc/menu-methods/xdg-desktop-entry-spec-sessions > update-menus[24644]: Se execută metoda: /etc/menu-methods/menu-xdg > 0 [EMAIL PROTECTED] ~/.config/menus $ head ~/.config/menus/debian-menu.menu > "http://www.freedesktop.org/standards/menu-spec/menu-0.8.dtd";> > > > /home/eddy/.local/share/desktop-directories/menu-xdg > Debian > debian.directory > > X-Debian > > 0 [EMAIL PROTECTED] ~/.config/menus $ egrep '\[ro\]' > /home/eddy/.local/share/desktop-directories/
Bug#408387: the Debian menu is (not consistently) localized
2008/11/5 Bill Allombert <[EMAIL PROTECTED]>: > On Wed, Nov 05, 2008 at 03:27:08AM +0200, Eddy Petrișor wrote: >> >> >Is this behaviour correct? Are subdirectories allowed in >> >> >~/.local/share/desktop-directories and does the standard say they should >> >> >be recursively traversed in order to find more .directory files? >> Note that meanwhile I have seen the same issue on a fresh install, >> too. The workaround I was talking about in my last mail worked like a >> charm on the new system, too. >> >> > Actually you should have a file >> > ~/.config/menus/debian-menu.menu >> > which start by >> > >> > /home/eddy/.local/share/desktop-directories/menu-xdg >> > which tell GNOME to look for directory files in >> > /home/eddy/.local/share/desktop-directories/menu-xdg >> >> I do have that file and indeed that's how it looks like. See attachment. >> But it seems this file doesn't do anything. I have removed the >> symlinks that made the thing work, ran update-menus and the menus are >> back in English. >> >> If I recreate the symlinks once more, and run update-menus I get the >> localized version once more. So, I guess something's really off. > > Could you check whether in both case the file in > /home/eddy/.local/share/desktop-directories/menu-xdg > are correctly localized ? I assume that by "both" you mean with and without the hack: Without the hack: heidi:/home/eddy/.local/share/desktop-directories# update-menus heidi:/home/eddy/.local/share/desktop-directories# egrep '\[ro\]' /var/lib/menu-xdg/desktop-directories/menu-xdg/* | head /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-accessibility.directory:Name[ro]=Accesibilitate /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-data-management.directory:Name[ro]=Administrare de date /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications.directory:Name[ro]=Aplicații /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-editors.directory:Name[ro]=Editoare /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-emulators.directory:Name[ro]=Emulatoare /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-file-management.directory:Name[ro]=Administrarea fișierelor /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-graphics.directory:Name[ro]=Grafică /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-network-communication.directory:Name[ro]=Comunicare /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-network.directory:Name[ro]=Rețele /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-applications-network-file-transfer.directory:Name[ro]=Transfer de fișiere 0 [EMAIL PROTECTED] ~/.config/menus $ update-menus -v update-menus[24644]: Actualizarea meniului este executată de utilizator. update-menus[24644]: Dpkg nu blochează zona de stare dpkg, foarte bine. update-menus[24644]: Se citește lista cu pachete instalate... update-menus[24644]: Se citesc regulile de translatare din /etc/menu-methods/translate_menus. update-menus[24644]: Se citesc fișierele cu intrări în meniu din /home/eddy/.menu/. update-menus[24644]: s-au găsit 0 intrări în meniu (0 în total). update-menus[24644]: Se citesc fișierele cu intrări în meniu din /etc/menu/. update-menus[24644]: s-au găsit 0 intrări în meniu (0 în total). update-menus[24644]: Se citesc fișierele cu intrări în meniu din /usr/lib/menu/. update-menus[24644]: s-au găsit 0 intrări în meniu (0 în total). update-menus[24644]: Se citesc fișierele cu intrări în meniu din /usr/share/menu/. update-menus[24644]: fișierul /usr/share/menu/openjdk-6-jre linia 8: Se ignoră intrările care necesită pachetul lipsă openjdk-6-bin. update-menus[24644]: s-au găsit 288 intrări în meniu (288 în total). update-menus[24644]: Se citesc fișierele cu intrări în meniu din /usr/share/menu/default/. update-menus[24644]: s-au găsit 0 intrări în meniu (288 în total). update-menus[24644]: Se execută metodele-meniu în /home/eddy/.menu-methods/. update-menus[24644]: Se execută metodele-meniu în /etc/menu-methods/. update-menus[24644]: Se execută metoda: /etc/menu-methods/xdg-desktop-entry-spec-apps update-menus[24644]: Se execută metoda: /etc/menu-methods/xdg-desktop-entry-spec-dirs update-menus[24644]: Se execută metoda: /etc/menu-methods/fluxbox update-menus[24644]: Se execută metoda: /etc/menu-methods/xdg-desktop-entry-spec-sessions update-menus[24644]: Se execută metoda: /etc/menu-methods/menu-xdg 0 [EMAIL PROTECTED] ~/.config/menus $ head ~/.config/menus/debian-menu.menu http://www.freedesktop.org/standards/menu-spec/menu-0.8.dtd";> /home/eddy/.local/share/desktop-directories/menu-xdg Debian debian.directory X-Debian 0 [EMAIL PROTECTED] ~/.config/menus $ egrep '\[ro\]' /home/eddy/.local/share/desktop-directories/menu-xdg/* | head /home/eddy/.local/share/desktop-directories/menu-xdg/debian-applications-accessibility.directory:Name[ro]=Accesibilitate /home/eddy/.local/share/desktop-directories/menu-xdg/debian-applicatio
Bug#408387: the Debian menu is (not consistently) localized
On Wed, Nov 05, 2008 at 03:27:08AM +0200, Eddy Petrișor wrote: > 2008/5/8 Bill Allombert <[EMAIL PROTECTED]>: > > >> >The good news is that I have found how to make it work. It seems that > >> >GNOME doesn't look into the subdirectories of the > >> >~/.local/share/desktop-directories directory to look for .directory files: > >> > > >> >I did the following and now the Debian menu is entirely localized: > >> > > >> > > >> >0 [EMAIL PROTECTED] ~/.local/share/desktop-directories $ for I in > >> >menu-xdg/* ; > >> >do echo "$I"; ln $I `basename $I` ; done > >> > > >> >Is this behaviour correct? Are subdirectories allowed in > >> >~/.local/share/desktop-directories and does the standard say they should > >> >be recursively traversed in order to find more .directory files? > > > > Hello Eddy, > > Hello, > > Sorry once more for a really delayed reply. > > Note that meanwhile I have seen the same issue on a fresh install, > too. The workaround I was talking about in my last mail worked like a > charm on the new system, too. > > > Actually you should have a file > > ~/.config/menus/debian-menu.menu > > which start by > > > > /home/eddy/.local/share/desktop-directories/menu-xdg > > which tell GNOME to look for directory files in > > /home/eddy/.local/share/desktop-directories/menu-xdg > > I do have that file and indeed that's how it looks like. See attachment. > But it seems this file doesn't do anything. I have removed the > symlinks that made the thing work, ran update-menus and the menus are > back in English. > > If I recreate the symlinks once more, and run update-menus I get the > localized version once more. So, I guess something's really off. Could you check whether in both case the file in /home/eddy/.local/share/desktop-directories/menu-xdg are correctly localized ? Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#408387: the Debian menu is (not consistently) localized
2008/5/8 Bill Allombert <[EMAIL PROTECTED]>: >> >The good news is that I have found how to make it work. It seems that >> >GNOME doesn't look into the subdirectories of the >> >~/.local/share/desktop-directories directory to look for .directory files: >> > >> >I did the following and now the Debian menu is entirely localized: >> > >> > >> >0 [EMAIL PROTECTED] ~/.local/share/desktop-directories $ for I in >> >menu-xdg/* ; >> >do echo "$I"; ln $I `basename $I` ; done >> > >> >Is this behaviour correct? Are subdirectories allowed in >> >~/.local/share/desktop-directories and does the standard say they should >> >be recursively traversed in order to find more .directory files? > > Hello Eddy, Hello, Sorry once more for a really delayed reply. Note that meanwhile I have seen the same issue on a fresh install, too. The workaround I was talking about in my last mail worked like a charm on the new system, too. > Actually you should have a file > ~/.config/menus/debian-menu.menu > which start by > > /home/eddy/.local/share/desktop-directories/menu-xdg > which tell GNOME to look for directory files in > /home/eddy/.local/share/desktop-directories/menu-xdg I do have that file and indeed that's how it looks like. See attachment. But it seems this file doesn't do anything. I have removed the symlinks that made the thing work, ran update-menus and the menus are back in English. If I recreate the symlinks once more, and run update-menus I get the localized version once more. So, I guess something's really off. -- Regards, EddyP = "Imagination is more important than knowledge" A.Einstein debian-menu.menu Description: Binary data
Bug#408387: the Debian menu is (not consistently) localized
On Thu, Mar 13, 2008 at 01:01:31AM +0200, Eddy Petrișor wrote: > >Bill Allombert wrote: > >>On Wed, Jun 13, 2007 at 08:08:13PM +0300, Eddy Petrișor wrote: > >>>Bill Allombert wrote: > On Tue, Jun 12, 2007 at 10:14:39AM +0300, Eddy Petrișor wrote: > >bounty:/home/eddy# cat > >/var/lib/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory > >[Desktop Entry] > >Type=Directory > >Encoding=UTF-8 > >Name=Apps > >Name[ro]=Aplicaţii > This seems good. The XDG menu is localised. > >>>This was also the same before, but only the Romanian translation was > >>>present, so I don't quite follow your logic here. > >> > >>My point was that the job of update-menus stops at creating this file. > >>Since this file is properly localised the problem is not with > >>update-menus. > >> > >>Is the file > >>~/.local/share/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory > >> > >>also properly localised ? > >> > >>What is the language setting of GNOME on your system ? > >> > >>Could you try another user on your system ? > > > >The bad news is now I have 2.1.38 installed and still the menu is not > >localized. > > > >The good news is that I have found how to make it work. It seems that > >GNOME doesn't look into the subdirectories of the > >~/.local/share/desktop-directories directory to look for .directory files: > > > >I did the following and now the Debian menu is entirely localized: > > > > > >0 [EMAIL PROTECTED] ~/.local/share/desktop-directories $ for I in menu-xdg/* > >; > >do echo "$I"; ln $I `basename $I` ; done > > > >Is this behaviour correct? Are subdirectories allowed in > >~/.local/share/desktop-directories and does the standard say they should > >be recursively traversed in order to find more .directory files? Hello Eddy, Actually you should have a file ~/.config/menus/debian-menu.menu which start by /home/eddy/.local/share/desktop-directories/menu-xdg which tell GNOME to look for directory files in /home/eddy/.local/share/desktop-directories/menu-xdg How does look yours ? Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#408387: the Debian menu is (not consistently) localized
retitle 408387 menu: generates (useless) files outside of reach of XDG_DATA_DIRS or XDG_DATA_HOME thanks Eddy Petrișor wrote: reopen 408387 thanks Bill Allombert wrote: On Wed, Jun 13, 2007 at 08:08:13PM +0300, Eddy Petrișor wrote: Bill Allombert wrote: On Tue, Jun 12, 2007 at 10:14:39AM +0300, Eddy Petrișor wrote: bounty:/home/eddy# cat /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory [Desktop Entry] Type=Directory Encoding=UTF-8 Name=Apps Name[ro]=Aplicaţii This seems good. The XDG menu is localised. This was also the same before, but only the Romanian translation was present, so I don't quite follow your logic here. My point was that the job of update-menus stops at creating this file. Since this file is properly localised the problem is not with update-menus. Is the file ~/.local/share/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory also properly localised ? What is the language setting of GNOME on your system ? Could you try another user on your system ? The bad news is now I have 2.1.38 installed and still the menu is not localized. The good news is that I have found how to make it work. It seems that GNOME doesn't look into the subdirectories of the ~/.local/share/desktop-directories directory to look for .directory files: I did the following and now the Debian menu is entirely localized: 0 [EMAIL PROTECTED] ~/.local/share/desktop-directories $ for I in menu-xdg/* ; do echo "$I"; ln $I `basename $I` ; done 0 [EMAIL PROTECTED] ~/.local/share/desktop-directories $ ll total 384 -rw-r--r-- 2 eddy eddy 1481 2008-03-12 15:34 debian-applications-data-management.directory -rw-r--r-- 2 eddy eddy 1293 2008-03-12 15:34 debian-applications.directory -rw-r--r-- 2 eddy eddy 1029 2008-03-12 15:34 debian-applications-editors.directory -rw-r--r-- 2 eddy eddy 1141 2008-03-12 15:34 debian-applications-emulators.directory -rw-r--r-- 2 eddy eddy 1486 2008-03-12 15:34 debian-applications-file-management.directory -rw-r--r-- 2 eddy eddy 1084 2008-03-12 15:34 debian-applications-graphics.directory -rw-r--r-- 2 eddy eddy 804 2008-03-12 15:34 debian-applications-net.directory -rw-r--r-- 2 eddy eddy 1375 2008-03-12 15:34 debian-applications-net-file-transfer.directory -rw-r--r-- 2 eddy eddy 1369 2008-03-12 15:34 debian-applications-network-communication.directory -rw-r--r-- 2 eddy eddy 1028 2008-03-12 15:34 debian-applications-network.directory -rw-r--r-- 2 eddy eddy 1379 2008-03-12 15:34 debian-applications-network-file-transfer.directory -rw-r--r-- 2 eddy eddy 1206 2008-03-12 15:34 debian-applications-network-monitoring.directory -rw-r--r-- 2 eddy eddy 1321 2008-03-12 15:34 debian-applications-network-web-browsing.directory -rw-r--r-- 2 eddy eddy 1090 2008-03-12 15:34 debian-applications-network-web-news.directory -rw-r--r-- 2 eddy eddy 982 2008-03-12 15:34 debian-applications-office.directory -rw-r--r-- 2 eddy eddy 1251 2008-03-12 15:34 debian-applications-programming.directory -rw-r--r-- 2 eddy eddy 1031 2008-03-12 15:34 debian-applications-science.directory -rw-r--r-- 2 eddy eddy 1260 2008-03-12 15:34 debian-applications-science-mathematics.directory -rw-r--r-- 2 eddy eddy 973 2008-03-12 15:34 debian-applications-shells.directory -rw-r--r-- 2 eddy eddy 916 2008-03-12 15:34 debian-applications-sound.directory -rw-r--r-- 2 eddy eddy 1425 2008-03-12 15:34 debian-applications-system-administration.directory -rw-r--r-- 2 eddy eddy 972 2008-03-12 15:34 debian-applications-system.directory -rw-r--r-- 2 eddy eddy 1091 2008-03-12 15:34 debian-applications-system-hardware.directory -rw-r--r-- 2 eddy eddy 1759 2008-03-12 15:34 debian-applications-system-language-environment.directory -rw-r--r-- 2 eddy eddy 1205 2008-03-12 15:34 debian-applications-system-monitoring.directory -rw-r--r-- 2 eddy eddy 1656 2008-03-12 15:34 debian-applications-system-package-management.directory -rw-r--r-- 2 eddy eddy 1093 2008-03-12 15:34 debian-applications-system-security.directory -rw-r--r-- 2 eddy eddy 1642 2008-03-12 15:34 debian-applications-terminal-emulators.directory -rw-r--r-- 2 eddy eddy 860 2008-03-12 15:34 debian-applications-text.directory -rw-r--r-- 2 eddy eddy 917 2008-03-12 15:34 debian-applications-tools.directory -rw-r--r-- 2 eddy eddy 916 2008-03-12 15:34 debian-applications-video.directory -rw-r--r-- 2 eddy eddy 1035 2008-03-12 15:34 debian-applications-viewers.directory -rw-r--r-- 1 eddy eddy 1298 2007-10-10 01:53 Debian.directory -rw-r--r-- 2 eddy eddy 967 2008-03-12 15:34 debian-games-action.directory -rw-r--r-- 2 eddy eddy 966 2008-03-12 15:34 debian-games-blocks.directory -rw-r--r-- 2 eddy eddy 904 2008-03-12 15:34 debian-games.directory -rw-r--r-- 2 eddy eddy 1028 2008-03-12 15:34 debian-games-puzzles.directory -rw-r--r-- 2 eddy eddy 1190 2008-03-12 15:34 debian-games-simulation.directory -rw-r--r-- 2 eddy eddy 1078 2008-03-12 15:34 debian-games-strategy.directory -rw-r--r-- 2 eddy eddy 849 2008-03-12 15:34 debian
Bug#408387: the Debian menu is (not consistently) localized
reopen 408387 thanks Bill Allombert wrote: On Wed, Jun 13, 2007 at 08:08:13PM +0300, Eddy Petrișor wrote: Bill Allombert wrote: On Tue, Jun 12, 2007 at 10:14:39AM +0300, Eddy Petrișor wrote: bounty:/home/eddy# cat /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory [Desktop Entry] Type=Directory Encoding=UTF-8 Name=Apps Name[ro]=Aplicaţii This seems good. The XDG menu is localised. This was also the same before, but only the Romanian translation was present, so I don't quite follow your logic here. My point was that the job of update-menus stops at creating this file. Since this file is properly localised the problem is not with update-menus. Is the file ~/.local/share/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory also properly localised ? What is the language setting of GNOME on your system ? Could you try another user on your system ? The bad news is now I have 2.1.38 installed and still the menu is not localized. The good news is that I have found how to make it work. It seems that GNOME doesn't look into the subdirectories of the ~/.local/share/desktop-directories directory to look for .directory files: I did the following and now the Debian menu is entirely localized: 0 [EMAIL PROTECTED] ~/.local/share/desktop-directories $ for I in menu-xdg/* ; do echo "$I"; ln $I `basename $I` ; done 0 [EMAIL PROTECTED] ~/.local/share/desktop-directories $ ll total 384 -rw-r--r-- 2 eddy eddy 1481 2008-03-12 15:34 debian-applications-data-management.directory -rw-r--r-- 2 eddy eddy 1293 2008-03-12 15:34 debian-applications.directory -rw-r--r-- 2 eddy eddy 1029 2008-03-12 15:34 debian-applications-editors.directory -rw-r--r-- 2 eddy eddy 1141 2008-03-12 15:34 debian-applications-emulators.directory -rw-r--r-- 2 eddy eddy 1486 2008-03-12 15:34 debian-applications-file-management.directory -rw-r--r-- 2 eddy eddy 1084 2008-03-12 15:34 debian-applications-graphics.directory -rw-r--r-- 2 eddy eddy 804 2008-03-12 15:34 debian-applications-net.directory -rw-r--r-- 2 eddy eddy 1375 2008-03-12 15:34 debian-applications-net-file-transfer.directory -rw-r--r-- 2 eddy eddy 1369 2008-03-12 15:34 debian-applications-network-communication.directory -rw-r--r-- 2 eddy eddy 1028 2008-03-12 15:34 debian-applications-network.directory -rw-r--r-- 2 eddy eddy 1379 2008-03-12 15:34 debian-applications-network-file-transfer.directory -rw-r--r-- 2 eddy eddy 1206 2008-03-12 15:34 debian-applications-network-monitoring.directory -rw-r--r-- 2 eddy eddy 1321 2008-03-12 15:34 debian-applications-network-web-browsing.directory -rw-r--r-- 2 eddy eddy 1090 2008-03-12 15:34 debian-applications-network-web-news.directory -rw-r--r-- 2 eddy eddy 982 2008-03-12 15:34 debian-applications-office.directory -rw-r--r-- 2 eddy eddy 1251 2008-03-12 15:34 debian-applications-programming.directory -rw-r--r-- 2 eddy eddy 1031 2008-03-12 15:34 debian-applications-science.directory -rw-r--r-- 2 eddy eddy 1260 2008-03-12 15:34 debian-applications-science-mathematics.directory -rw-r--r-- 2 eddy eddy 973 2008-03-12 15:34 debian-applications-shells.directory -rw-r--r-- 2 eddy eddy 916 2008-03-12 15:34 debian-applications-sound.directory -rw-r--r-- 2 eddy eddy 1425 2008-03-12 15:34 debian-applications-system-administration.directory -rw-r--r-- 2 eddy eddy 972 2008-03-12 15:34 debian-applications-system.directory -rw-r--r-- 2 eddy eddy 1091 2008-03-12 15:34 debian-applications-system-hardware.directory -rw-r--r-- 2 eddy eddy 1759 2008-03-12 15:34 debian-applications-system-language-environment.directory -rw-r--r-- 2 eddy eddy 1205 2008-03-12 15:34 debian-applications-system-monitoring.directory -rw-r--r-- 2 eddy eddy 1656 2008-03-12 15:34 debian-applications-system-package-management.directory -rw-r--r-- 2 eddy eddy 1093 2008-03-12 15:34 debian-applications-system-security.directory -rw-r--r-- 2 eddy eddy 1642 2008-03-12 15:34 debian-applications-terminal-emulators.directory -rw-r--r-- 2 eddy eddy 860 2008-03-12 15:34 debian-applications-text.directory -rw-r--r-- 2 eddy eddy 917 2008-03-12 15:34 debian-applications-tools.directory -rw-r--r-- 2 eddy eddy 916 2008-03-12 15:34 debian-applications-video.directory -rw-r--r-- 2 eddy eddy 1035 2008-03-12 15:34 debian-applications-viewers.directory -rw-r--r-- 1 eddy eddy 1298 2007-10-10 01:53 Debian.directory -rw-r--r-- 2 eddy eddy 967 2008-03-12 15:34 debian-games-action.directory -rw-r--r-- 2 eddy eddy 966 2008-03-12 15:34 debian-games-blocks.directory -rw-r--r-- 2 eddy eddy 904 2008-03-12 15:34 debian-games.directory -rw-r--r-- 2 eddy eddy 1028 2008-03-12 15:34 debian-games-puzzles.directory -rw-r--r-- 2 eddy eddy 1190 2008-03-12 15:34 debian-games-simulation.directory -rw-r--r-- 2 eddy eddy 1078 2008-03-12 15:34 debian-games-strategy.directory -rw-r--r-- 2 eddy eddy 849 2008-03-12 15:34 debian-help.directory -rw-r--r-- 2 eddy eddy 958 2008-03-12 15:34 debian-screen.directory -rw-r--r-- 2 eddy eddy 1028 2008-03-12 15:34 debian-screen-l
Bug#408387: the Debian menu is (not consistently) localized
On Wed, Jun 13, 2007 at 08:08:13PM +0300, Eddy Petrișor wrote: > Bill Allombert wrote: > > On Tue, Jun 12, 2007 at 10:14:39AM +0300, Eddy Petrișor wrote: > >> bounty:/home/eddy# cat > >> /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory > >> [Desktop Entry] > >> Type=Directory > >> Encoding=UTF-8 > >> Name=Apps > >> Name[ro]=Aplicaţii > > > > This seems good. The XDG menu is localised. > > This was also the same before, but only the Romanian translation was > present, so I don't quite follow your logic here. My point was that the job of update-menus stops at creating this file. Since this file is properly localised the problem is not with update-menus. Is the file ~/.local/share/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory also properly localised ? What is the language setting of GNOME on your system ? Could you try another user on your system ? Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here.
Bug#408387: the Debian menu is (not consistently) localized
Bill Allombert wrote: > On Tue, Jun 12, 2007 at 10:14:39AM +0300, Eddy Petrișor wrote: >> bounty:/home/eddy# cat >> /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory >> [Desktop Entry] >> Type=Directory >> Encoding=UTF-8 >> Name=Apps >> Name[ro]=Aplicaţii > > This seems good. The XDG menu is localised. This was also the same before, but only the Romanian translation was present, so I don't quite follow your logic here. > So it seems the problem is a bad interaction between localpurge > and update-menus. I will try to investigate it. > >> I ran again update-menu --remove as a user and reinstalled menu-xdg and now >> the Debian menu is gone (but until now the >> menu was still non-localized). > > This looks like a different problem. Maybe there is a GNOME-specific > setting that prevent the global menu to be displayed. Look for files > in ~/.local I removed /home/eddy/.local/share/applications/menu-xdg/ and ran update-menu as the user eddy. The menu is still in English. As supplemental oddity, at first the Apps menu (and its children) was not localized while the others (Games, X Shells, etc) were localized > Alternatively, see if running update-menu as a user make a difference. I ran yet another time update-menu and is still not localized (all of it). -- Regards, EddyP = "Imagination is more important than knowledge" A.Einstein signature.asc Description: OpenPGP digital signature
Bug#408387: the Debian menu is (not consistently) localized
On Tue, Jun 12, 2007 at 10:14:39AM +0300, Eddy Petrișor wrote: > bounty:/home/eddy# cat > /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory > [Desktop Entry] > Type=Directory > Encoding=UTF-8 > Name=Apps > Name[ro]=Aplicaţii This seems good. The XDG menu is localised. So it seems the problem is a bad interaction between localpurge and update-menus. I will try to investigate it. > I ran again update-menu --remove as a user and reinstalled menu-xdg and now > the Debian menu is gone (but until now the > menu was still non-localized). This looks like a different problem. Maybe there is a GNOME-specific setting that prevent the global menu to be displayed. Look for files in ~/.local Alternatively, see if running update-menu as a user make a difference. Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here.
Bug#408387: the Debian menu is (not consistently) localized
Bill Allombert wrote: > On Wed, Feb 07, 2007 at 09:23:26PM +0200, Eddy Petrișor wrote: >>> Did you tweak your system in any way ? >> Does localepurge count as a tweak? Nothing except that. > > Hello Eddy, do you still suffer from this problem ? > Did you track it down to localpurge ? I just removed localepurge, reinstalled menu I reran the commands you proposed initially. bounty:/home/eddy# LANG=C apt-cache policy localepurge localepurge: Installed: (none) Candidate: 0.5.8 Version table: 0.5.9 0 50 http://eddyp.homelinux.net lenny/main Packages -10 http://eddyp.homelinux.net sid/main Packages 50 http://ftp.ro.debian.org lenny/main Packages -10 http://ftp.ro.debian.org sid/main Packages 0.5.8 0 900 http://eddyp.homelinux.net etch/main Packages 900 http://ftp.ro.debian.org etch/main Packages 900 http://snapshot.debian.net etch/main Packages 100 /var/lib/dpkg/status bounty:/home/eddy# chmod a-x /etc/menu-methods/gnome-panel-data bounty:/home/eddy# locale LANG=ro_RO.UTF-8 LC_CTYPE="ro_RO.UTF-8" LC_NUMERIC="ro_RO.UTF-8" LC_TIME="ro_RO.UTF-8" LC_COLLATE="ro_RO.UTF-8" LC_MONETARY="ro_RO.UTF-8" LC_MESSAGES="ro_RO.UTF-8" LC_PAPER="ro_RO.UTF-8" LC_NAME="ro_RO.UTF-8" LC_ADDRESS="ro_RO.UTF-8" LC_TELEPHONE="ro_RO.UTF-8" LC_MEASUREMENT="ro_RO.UTF-8" LC_IDENTIFICATION="ro_RO.UTF-8" LC_ALL= bounty:/home/eddy# ls --help Usage: ls [OPTION]... [FILE]... List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort. Mandatory arguments to long options are mandatory for short options too. -a, --all do not ignore entries starting with . -A, --almost-all do not list implied . and .. --author with -l, print the author of each file -b, --escape print octal escapes for nongraphic characters --block-size=SIZE use SIZE-byte blocks -B, --ignore-backups do not list implied entries ending with ~ -c with -lt: sort by, and show, ctime (time of last modification of file status information) with -l: show ctime and sort by name otherwise: sort by ctime -C list entries by columns --color[=WHEN] control whether color is used to distinguish file types. WHEN may be `never', `always', or `auto' -d, --directorylist directory entries instead of contents, and do not dereference symbolic links -D, --diredgenerate output designed for Emacs' dired mode -f do not sort, enable -aU, disable -lst -F, --classify append indicator (one of */=>@|) to entries --file-typelikewise, except do not append `*' --format=WORD across -x, commas -m, horizontal -x, long -l, single-column -1, verbose -l, vertical -C --full-timelike -l --time-style=full-iso -g like -l, but do not list owner -G, --no-group like -l, but do not list group -h, --human-readable with -l, print sizes in human readable format (e.g., 1K 234M 2G) --si likewise, but use powers of 1000 not 1024 -H, --dereference-command-line follow symbolic links listed on the command line --dereference-command-line-symlink-to-dir follow each command line symbolic link that points to a directory --hide=PATTERN do not list implied entries matching shell PATTERN (overridden by -a or -A) --indicator-style=WORD append indicator with style WORD to entry names: none (default), slash (-p), file-type (--file-type), classify (-F) -i, --inodewith -l, print the index number of each file -I, --ignore=PATTERN do not list implied entries matching shell PATTERN -k like --block-size=1K -l use a long listing format -L, --dereference when showing file information for a symbolic link, show information for the file the link references rather than for the link itself -m fill width with a comma separated list of entries -n, --numeric-uid-gid like -l, but list numeric user and group IDs -N, --literal print raw entry names (don't treat e.g. control characters specially) -o like -l, but do not list group information -p, --indicator-style=slash append
Bug#408387: the Debian menu is (not consistently) localized
On Wed, Feb 07, 2007 at 09:23:26PM +0200, Eddy Petrișor wrote: > > Did you tweak your system in any way ? > > Does localepurge count as a tweak? Nothing except that. Hello Eddy, do you still suffer from this problem ? Did you track it down to localpurge ? Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here.
Bug#408387: the Debian menu is (not consistently) localized
On Wed, Feb 07, 2007 at 09:23:26PM +0200, Eddy Petrișor wrote: > Does localepurge count as a tweak? Nothing except that. Maybe: I never tested what happens if you remove some menu .mo file for languages listed in /etc/menu-methods/lang.h. I can't thing of any other problems than localepurge removing root configured locale. Could you make sure you run dpkg as root with valid locale ? Either login as root or su - and do locale ls --help update-menus -v cat /var/lib/menu-xdg/desktop-directories/menu-xdg/debian-apps.directory Cheers, Bill.
Bug#408387: the Debian menu is (not consistently) localized
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Allombert wrote: > On Mon, Jan 29, 2007 at 11:22:06AM +0200, Eddy Petrișor wrote: >> -BEGIN PGP SIGNED MESSAGE- >> /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[ro]=Aplicaţii > > This is bad: it should be localised in all locales: > > Name[bs]=Aplikacije > Name[ca]=Aplicacions > Name[cs]=Aplikace > Name[da]=Programmer > Name[de]=Anwendungen > > not solely in Romanian. > > Did you tweak your system in any way ? Does localepurge count as a tweak? Nothing except that. Also note that I just tried to reinstall menu-xdg and that resulted in a non-localized menu. >> 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 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 > > This is not an error, only a warning. This is reported as bug #358008. Err, did I say error? :-) Stupid me :-) > Try to issue the command: > chmod a-x /etc/menu-methods/gnome-panel-data it doesn't give that warning on remove, but it doesn't localize the menu either. - -- Regards, EddyP = "Imagination is more important than knowledge" A.Einstein -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFyicuY8Chqv3NRNoRAud4AKC6FMLkpnimXiEo7AApOom4ejyULACgtFWz nBe2QLQ126qAbpwcn1NRROU= =VcJM -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#408387: the Debian menu is (not consistently) localized
On Mon, Jan 29, 2007 at 11:22:06AM +0200, Eddy Petrișor wrote: > -BEGIN PGP SIGNED MESSAGE- > /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[ro]=Aplicaţii This is bad: it should be localised in all locales: Name[bs]=Aplikacije Name[ca]=Aplicacions Name[cs]=Aplikace Name[da]=Programmer Name[de]=Anwendungen not solely in Romanian. Did you tweak your system in any way ? > 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 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 This is not an error, only a warning. This is reported as bug #358008. Try to issue the command: chmod a-x /etc/menu-methods/gnome-panel-data Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large blue swirl here.
Bug#408387: the Debian menu is (not consistently) localized
-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 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 - --
Bug#408387: the Debian menu is (not consistently) localized
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. 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. 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. Also I would like to see ls -l /etc/menu-methods/ and update-menus -v (as root) > 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. Cheers, Bill. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#408387: the Debian menu is (not consistently) localized
severity 408387 important quit On Thu, Jan 25, 2007 at 04:07:13PM +0200, Eddy Petrișor wrote: > Package: menu > Version: 2.1.33 > Severity: serious > Justification: localization is a release target Release targets are not RC. The list of release-critical criteria are found at http://release.debian.org/etch_rc_policy.txt. Please respect it. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/
Bug#408387: the Debian menu is (not consistently) localized
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Package: menu Version: 2.1.33 Severity: serious Justification: localization is a release target 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. 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). $ LANG=C apt-cache policy metacity metacity: Installed: 1:2.14.5-2 Candidate: 1:2.14.5-2 Version table: *** 1:2.14.5-2 0 900 http://localmirror etch/main Packages -10 http://localmirror sid/main Packages 900 http://ftp.ro.debian.org etch/main Packages 100 /var/lib/dpkg/status (The localmirror is a clean Debian mirror with nothing else) So the problem is that the menu does not seem to be respecting the locale selected via the LANG environment variable. Note that the whole system is localized in Romanian: $ cat /etc/default/locale LANG="ro_RO.UTF-8" - -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (900, 'testing') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-amd64 Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8) Versions of packages menu depends on: ii dpkg 1.13.25 package maintenance system for Deb ii libc62.3.6.ds1-8 GNU C Library: Shared libraries ii libgcc1 1:4.1.1-21 GCC support library ii libstdc++6 4.1.1-21The GNU Standard C++ Library v3 menu recommends no packages. - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFuLmRY8Chqv3NRNoRAgPgAJ9om9MGrqjkqwLy7ms49vUO4KJpZgCdGCfP 8+11im5MnqspzMAobIKdquM= =LY+3 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]