On Tue, Jun 06, 2006 at 06:02:57PM +0200, Bill Allombert wrote:
> On Tue, Jun 06, 2006 at 11:00:02AM -0400, Dylan Thurston wrote:
> > On Tue, Jun 06, 2006 at 10:38:07AM +0200, Bill Allombert wrote:
> > > When running as root, I agree that using a global language setting
> > > can be better. How can access such global language setting ?
> > 
> > /etc/default/locale
> 
> OK, so could you point me to the documentation of that file ?
> %LANG=C ls -l /etc/default/locale
> ls: /etc/default/locale: No such file or directory

It's created by update-locales, which is run by the postinst of the
'locales' package if you select the appropriate debconf option.  I've
attached my version; the format seems to be very simple.

> > I'm not sure about the state of XDG-compliance, but xfce4 (version
> > 4.3.90.1-2, package xfdesktop4) exhibits the bad behaviour with its
> > menus, although it does support translations.  I just reported the bug:
> > #370712
> 
> I looked at xfce4 menuand it is not clear to me how a multilingual menu should
> look like. Any pointer to the documentation ?

There's some documentation in the file.  (All the menu files are in
/etc/xdg/xfce4/desktop.)  I note that there is already a localized
version of the outer menu, in, e.g., menu.xml.zh_TW; those files all
include the single file menudefs.hook.  So an easy approach would be
to generate localized versions of menudefs.hook and include those
instead.

But you might also want to check with the xfce4 maintainers; I noticed
some relevant entries in the changelog.

Peace,
        Dylan Thurston
#  File generated by update-locale
LANG=en_US.UTF-8

Attachment: signature.asc
Description: Digital signature

Reply via email to