Re: [Tracker] Localization support for tracker
- From: Laurent Aguerreche <laurent aguerreche free fr>
- To: Luca Ferretti <elle uca libero it>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] Localization support for tracker
- Date: Thu, 09 Nov 2006 18:14:58 +0100
Le jeudi 09 novembre 2006 Ã 10:24 +0100, Luca Ferretti a Ãcrit :
Il giorno gio, 09/11/2006 alle 00.23 +0100, Laurent Aguerreche ha
Le mercredi 08 novembre 2006 Ã 20:25 +0100, Luca Ferretti a Ãcrit :
Il giorno mer, 08/11/2006 alle 19.40 +0100, Laurent Aguerreche ha
multi-po is discouraged by GNOME l10n guidelines. And it's a mess to
manage in a proper way.
A. add a 'tracker-data' package that could pack MO files and maybe
in future stuff like icons, GConf schema files, glade files, gtk
+ XML menu definition files... (see nautilus-data in Ubuntu)
B. put MO files in 'tracker' package (needed by 'tracker-utils' and
I prefer the solution A to have a package which only contains
Open another thread?
When I would have a deb package...
I made a translation for french... and it simply does not work :-D
But translations are probably right so they should be added.
It seems that my patch removed the setlocale(LC_ALL, "") call. I readded
this to cvs. Now tracker-search should work.
I'm rebuilding from scratch my jhbuild sandbox, so by now I can test
tracker-search-tool. The setlocale here is missing, but maybe it's not
needed (should/could be invoked by gnome_program_init ()).
Also I commited your French translation and the fix for intltool stuff
in make dist (but not the manual stuff, only the intltool) from your
fr.po is missing in CVS.
A question: how can I obtain a write access to CVS? I think I could
avoid to partially commit my patches. ;-)
So, to test if now it works:
* update your cvs sandbox
* rebuild starting from ./autogen.sh (maybe not needed, but better
to do) and install
* check if tracker-search and tracker-search-tool are translated
in Italian or French language
Please note that, if you are using Ubuntu, you have to install
"language-pack-it" and/or "language-pack-fr" to enable those locales if
you are using another locale. This is how Ubuntu works, other distros
should enable all locales by default.
Hum? Ubuntu needs language-pack-* just for locales?
(I use a Debian Unstable)
Moreover, if you are under Ubuntu Edgy, it seems that you have to use
the following line to invoke a different locale
LANG=it_IT.UTF-8 LANGUAGE=it_IT tracker-search ....
(and similar for fr) instead of the simple
that I suggested previously. On my system, I'm able to see the Italian
translation by default (I'm using the Italian locale as default, of
course) and the French translation when invoked with LANG and LANGUAGE
] [Thread Prev