On Tuesday 06 Dec 2011 20:34:17 Alex Baer wrote:
> Am Dienstag 06 Dezember 2011, 07:44:13 schrieb Mick:
> > On Tuesday 06 Dec 2011 00:45:26 Alex Baer wrote:
> > > Am Montag 05 September 2011, 10:17:34 schrieben Sie:
> > > > On Sun, 4 Sep 2011 12:26:04 +0200 Alex Baer <comet.fri...@gmx.net>
said:
> > > > > Hi there,
> > > > >
> > > > > e17 is great, and as I build the latest version from trunk once a
> > > > > month,
> > >
> > > [...]
> > >
> > > > > 2. Menu language
> > > > > Selecting Enlightenment for a menu, alls the applications in my
> > > > > system are included in the menu, and in the correct place. Even
> > > > > names and labels are translated correctly, just like in KDE.
> > > > > However, one level above in the menu hierarchy are the categories,
> > > > > to which applications are associated, and these are,
> > > > > unfortunately, always shown in English, regardless of any language
> > > > > setting or locale. E. g., in KDE I see "Büro" as a translation for
> > > > > "Office", but in E17 it's still "Office". Yet another level up, in
> > > > > the root menu, translation works, again. Only for the category it
> > > > > doesn't work. Can I change this with a setting or is this a bug?
> > > >
> > > > do the .directory files referred to contain translations? eg
> > > > Utility.directory? these normally are provided by your OS and they
> > > > specify label, icon and translations. i know ubuntu moved all
> > > > translations out of .desktop (and .directory) files into some other
> > > > translation databases. i don't actually know how this standard was
> > > > modified at this stage, but e doesn't support this separated
> > > > translation setup, so if the .desktop and .directory files don't have
> > > > translations
> > >
> > > [...]
> > >
> > > Hi Carsten,
> > >
> > > yes, the .directory files do contain translations, and I'd be *VERY*
> > > suprised, if the Slackware guys would any *buntu specifics... ;) It's a
> > > small team, and they usually try to avoid distro specific changes or
> > > patches.
> > >
> > > In Slackware64-13.37 the .directory files are located in
> > > /usr/share/desktop- directories. Here I find files like
> > > xfce-multimedia.directory and kde- office.directory. However, I don't
> > > find anything generic. All files are for either Xfce or KDE.
> > >
> > > So my questions for now are:
> > > 1. Where does e pick application categories?
> > > 2. Where would I look for generic (non-KDE, non-Xfce) .directory files?
> > > 3. How would I go about this, in order to make e use the translations?
> > >
> > > Because, at the moment, I have
> > > (English) Menu > Applications > Office > LibreOffice (Writer)
> > > (Germen) Hauptmenü > Anwendungen (correct!) > Office (should be: Büro)
> > > > LibreOffice (Textverarbeitung) (correct!)
> > >
> > > Sorry for bothering again with this, and thanks for your patience!
> >
> > Did you try:
> > locate .desktop
> >
> > or
> >
> > find / -name *.desktop
>
> Hi Mick,
>
> yes, of course, and I found lots of places with .desktop and .directory
> files. To me it seems, that e uses the .directory files in
>
> /usr/share/desktop.directories,
>
> which contain translations, such as LibreOffice (Writer) for English and
> LibreOffice (Textverarbeitung) for German for the entries of each
> application menu.
On my distro I have:
/usr/share/desktop-directories/
which contains only kde-<application_name>.directory files. I assume each
distro is different.
> 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!!!
>
> Is my conclusion correct? Or where is e supposed to look for translations?
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/>
> It seems, that this was an artifact from a previous install, when I tried
> the Enlightenment menu option at first start. I am inclined to think, that
> it is a bug, that this file influences the menu, even when the user
> selects or switches to KDE menu. I guess, if I tried to switch to
> Enlightenment menu now, I'd run into trouble, as the removed file would be
> needed, then. Correct?
>
> Everything fine now? Well, almost.
> The applications menu is in German now, with the exception of one entry:
> Office is still not translated to "Büroprogramme" or something similar,
> and the entries appear in seemingly arbitrary order, while the entries in
> other menus appear in alphabetical order, usually.
>
> I'd appreciate a hint, how to fix this (now really minor!) issue.
>
> Thanks in advance, kind regards,
Can't you manually edit the relevant .directory file and add your preferred
German description for LibreOffice?
--
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