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
<Menu>
<DirectoryDir>/home/eddy/.local/share/desktop-directories/menu-xdg</DirectoryDir>
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]

Reply via email to