FS#12925 - Nautilus speaks 2 languages since update
Attached to Project:
Community Packages
Opened by Jens (defcon) - Saturday, 24 January 2009, 08:26 GMT
Last edited by Allan McRae (Allan) - Sunday, 15 March 2009, 00:18 GMT
Opened by Jens (defcon) - Saturday, 24 January 2009, 08:26 GMT
Last edited by Allan McRae (Allan) - Sunday, 15 March 2009, 00:18 GMT
|
Details
Description:
Since update, nautilus is partly english and partly german I added a screenshot about this: http://www.kamprad.net/killajoe/img/denglisch.jpg |
This task depends upon
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE=C
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=
Btw. this problem i only have with i686, in x86_64 is everything ok.
The cause i have no problems with x86_64.. i setup up complete arch again, before this i had the "language-problem" too.
I agree with Aaron here, but it looks weird because l10n.gnome.org says that Gnome 2.24 has fully translated nautilus and gvfs in German, French and Ukrainian. :-/
http://www.kamprad.net/killajoe/logs/nautilus-denglisch
I'm on Arch at 64 bit.
Thanks for any replay.
$ locale
LANG=it_IT.utf8
LC_CTYPE="it_IT.utf8"
LC_NUMERIC="it_IT.utf8"
LC_TIME="it_IT.utf8"
LC_COLLATE=C
LC_MONETARY="it_IT.utf8"
LC_MESSAGES="it_IT.utf8"
LC_PAPER="it_IT.utf8"
LC_NAME="it_IT.utf8"
LC_ADDRESS="it_IT.utf8"
LC_TELEPHONE="it_IT.utf8"
LC_MEASUREMENT="it_IT.utf8"
LC_IDENTIFICATION="it_IT.utf8"
LC_ALL=
Only "Open as administrator" is untranslated (since ages).
The message catalog file seems ok for german.
$ msgunfmt /usr/share/locale/de/LC_MESSAGES/nautilus.mo
[...]
msgid "Open in %'d New _Tab"
msgid_plural "Open in %'d New _Tabs"
msgstr[0] "In %'d neuem _Reiter öffnen"
msgstr[1] "In %'d neuen _Reitern öffnen"
msgid "Open in %'d New _Window"
msgid_plural "Open in %'d New _Windows"
msgstr[0] "In %'d neuem _Fenster öffnen"
msgstr[1] "In %'d neuen _Fenstern öffnen"
[...]
i have seen this files: /usr/share/locale/de/LC_MESSAGES/nautilus.mo and locale output, it seems ok. But i have always problem with nautilus traslation: there's some entries in English and not in italian. For example "Empty Trash", "Make Link", "Open as administator", "Move to trash" ..etc...
$ LANG=de_DE.utf8 nautilus --sm-disable --no-desktop
works for me (i686 box) also. Jens, have you tried with a newly created user?
The problem is in the brasero nautilus extension. After moving libnautilus-brasero-extension.so away from /usr/lib/nautilus/extensions-2.0/ the menu item are shown in the right language.
textdomain ("nautilus");
in funcion nautilus_module_initialize (GTypeModule *module)
brasero-0.9.1/nautilus/nautilus-burn-extension.c
Upstream bug.
It seems that adding:
textdomain ("nautilus");
in "brasero-0.9.1/nautilus/nautilus-burn-extension.c", function nautilus_module_initialize (GTypeModule *module)
solves the issue.
But I really don't know how nautilus extensions should handle gettext domains.
Porting this patch to Arch is possible, right?