[Pkg-xfce-devel] Bug#570122: Bug#570122: thunar: doesn't respect locales

Yves-Alexis Perez corsac at debian.org
Tue Feb 16 21:56:46 UTC 2010


On 16/02/2010 19:37, Ivan Vassin wrote:
> Package: thunar
> Version: 1.0.1-2
> Severity: normal
> Tags: l10n
> 
> Thunar shows menus and dialogs in english in most cases, not respecting my
> locale settings (should show in spanish). I noticed a pattern in it's 
> behaviour: the first running instance displays menu headers (File, Edit, etc.) 
> in spanish, the contents and dialogs in english. Subsequent instances show
> everything in english. 
> If all instances are closed and a new one opened, this behaviour is reproduced.

How do you start Thunar, from a menu, a button, from a terminal? Thunar
normally only runs one process at all, when you open more window it's
the same process, called via dbus. The first one is launched by the
session (started with --daemon). So check everything is ok for both the
first (--daemon) run and subsequent ones.

A good way to check would be to quit all thunar windows, quit the last,
daemonized one if it exists (using thunar --quit) and then running
thunar from a “safe” place (somewhere with correct locales).

My guess is that you don't have the daemon running, and the various
thunar instances aren't started the same way, but if you can provide us
more details about how/from where you run them, it'd help us.

Here, if there's no daemon running, all the Thunar windows (processes in
that case) respects the locales inherited from environment (so if I
export LC_MESSAGES=fr_FR.UTF-8 before running thunar, it'll appear in
french).

If the daemon is running, all the Thunar window (which belong to the
same process) inherits the locale from where the --daemon process was run.

Cheers,
-- 
Yves-Alexis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20100216/d6cfad07/attachment.pgp>


More information about the Pkg-xfce-devel mailing list