On Thursday 08 Dec 2011 00:06:37 Alex Baer wrote:
> Am Mittwoch 07 Dezember 2011, 07:31:17 schrieb Mick:
> > On Tuesday 06 Dec 2011 20:34:17 Alex Baer wrote:
> Sorry, I should have been more precise here. Under
>
> /usr/share/desktop-directories
>
> I find files, such as kde-office.directory and xfce-office.directory, and
> these contain the translations for these desktop environments. If I select
> "KDE Menu" option in e, it uses the KDE .directory files.
> If you don't have xfce .directory files here, I guess you don't have Xfce
> installed, at all, do you?
Correct, because I do not have XFCE installed.
> > > But for the categories in the Applications menu, e seems to refer to
> > >
> > > /etc/xdg/menus/enlightenment.menu,
> > >
> > > which contains only English text. If I remove this file from here, I
> > > have a German applications menu!!!
Hmm ... what happens if you leave that file well alone and you set your menu to
either KDE or XFCE using the GUI (Settings Panel/ Menus/ Menu Settings/
Applications/ Menu Settings)
> > > Is my conclusion correct? Or where is e supposed to look for
> > > translations?
I'm not sure that e looks for translations at all - the devs will confirm. I
understand that it just scans your default directories for the main desktop
environment menus and uses these if you select them from the GUI.
> > I leave the devs to talk about this as I do not know, but if you look
> > inside
> >
> > /etc/xdg/menus/enlightenment.menu
> >
> > you will find references for the directories that e seems to scan to find
> > your distro's menu lists; e.g.
> >
> > <Menu>
> >
> > <Name>Applications</Name>
> > <Directory>Applications.directory</Directory>
> >
> > <!-- Scan legacy dirs first, as later items take priority -->
> > <LegacyDir>/etc/X11/applnk</LegacyDir>
> > <LegacyDir>/usr/share/gnome/apps</LegacyDir>
> > <KDELegacyDirs/>
> >
> > <!-- Read standard .directory and .desktop file locations -->
> > <DefaultAppDirs/>
> > <DefaultDirectoryDirs/>
> >
> > <!-- Read in overrides and child menus from applications-merged/ -->
> > <DefaultMergeDirs/>
>
> I saw this, but this file doesn't include any paths, just category names to
> be used in the menu...
Yes, I guess the paths will show up in the source files somewhere?
> [...]
>
> > Can't you manually edit the relevant .directory file and add your
> > preferred German description for LibreOffice?
>
> Probably yes, but actually I am inclined to think that this should be
> considere a bug and fixed upstream, because the file
> /etc/xdg/menus/enlightenment.menu
>
> - either needs to include translations
> - or not to be used in its current form, at all, if KDE is installed
> - or only be used, when enlightenment menu is selected and ignored when KDE
> menu is selected by the user.
>
> Generally e shouldn't make assumptions about other installed window
> managers and desktop environments, I think. But I wouldn't consider a
> major bug, as removing just one file cures the problem by and large. So
> it's definitely not something that should get maximum priority, although
> it should be fixed in a future version.
>
> Thanks for your support, it helped me to track this down to the level,
> where I was able to solve it (for me, at least).
You're welcome, glad I could help. :-)
--
Regards,
Mick
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users