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
Task Type Bug Report
Category
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

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

Closed by  Allan McRae (Allan)
Sunday, 15 March 2009, 00:18 GMT
Reason for closing:  Fixed
Comment by Allan McRae (Allan) - Saturday, 24 January 2009, 08:59 GMT
What language are you intending it to speak? Can you post the output of locale?
Comment by Jens (defcon) - Saturday, 24 January 2009, 09:37 GMT
LANG=de_DE.utf8
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=
Comment by Giorgio (uastasi) - Saturday, 24 January 2009, 10:08 GMT
Same situation for me. I use to have Italian as main language, but there's some entries in English.
Comment by Aaron Griffin (phrakture) - Saturday, 24 January 2009, 22:59 GMT
I would imagine this is an upstream issue. Partial translations means that the upstream translations are incomplete, if you ask me. Can anyone check to see if this is logged in the upstream bug tracker?
Comment by Jens (defcon) - Sunday, 25 January 2009, 14:39 GMT
I removed my packages with -Scc and reinstalled gnome and gnome-extras, nothing changed :-(
Btw. this problem i only have with i686, in x86_64 is everything ok.
Comment by Jens (defcon) - Sunday, 25 January 2009, 14:59 GMT
//Edit..
The cause i have no problems with x86_64.. i setup up complete arch again, before this i had the "language-problem" too.
Comment by cebarres (Cebarres) - Sunday, 25 January 2009, 19:58 GMT
Same problem here, Nautilus in french but a lot of entries in english.
Comment by Johannes Kamprad (k_i_l_l_a_j_o_e) - Sunday, 25 January 2009, 21:21 GMT
Same for me with German English mixture. On both cpu platforms.
Comment by Roman Kyrylych (Romashka) - Monday, 26 January 2009, 12:45 GMT
Nautilus is not fully Ukrainian here 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. :-/
Comment by Johannes Kamprad (k_i_l_l_a_j_o_e) - Monday, 26 January 2009, 13:37 GMT
because a fresh installatuin of Archlinux does not have that issue... the failure has to be somethin with changeing configs due last gnome apps updates?
http://www.kamprad.net/killajoe/logs/nautilus-denglisch
Comment by Marco Rocco (ech0s7) - Thursday, 29 January 2009, 15:05 GMT
Same situation also for me. I have Italian as main language, but there's some entries in English!
I'm on Arch at 64 bit.
Thanks for any replay.
Comment by Alessandro Doro (adoroo) - Thursday, 05 February 2009, 01:03 GMT
No problem here:
$ 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"
[...]
Comment by Alessandro Doro (adoroo) - Thursday, 05 February 2009, 01:16 GMT
And the menu item "Open as administrator" is not a Nautilus builtin; it comes from an extension.
Comment by Marco Rocco (ech0s7) - Thursday, 05 February 2009, 10:34 GMT
Alessandro Doro (adoroo),
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...

Comment by Johannes Kamprad (k_i_l_l_a_j_o_e) - Thursday, 05 February 2009, 10:56 GMT
Uninstalling Brasero with simpy "pacman -R brasero" and restarting gnome sove the problem... taken from: https://bugs.launchpad.net/intrepid-backports/+bug/325221/
Comment by Giorgio (uastasi) - Thursday, 05 February 2009, 11:01 GMT
Uninstalling Brasero works for me too.
Comment by Jan de Groot (JGC) - Thursday, 05 February 2009, 11:04 GMT
OK, so this is just some untranslated extension, not a bug in nautilus.
Comment by Johannes Kamprad (k_i_l_l_a_j_o_e) - Thursday, 05 February 2009, 11:19 GMT
But the BUG infest Nautilus ;)
Comment by Marco Rocco (ech0s7) - Thursday, 05 February 2009, 11:51 GMT
i confirm! It's a Brasero problem.
Comment by Alessandro Doro (adoroo) - Thursday, 05 February 2009, 12:36 GMT
Just installed german locales.

$ LANG=de_DE.utf8 nautilus --sm-disable --no-desktop

works for me (i686 box) also. Jens, have you tried with a newly created user?
Comment by Alessandro Doro (adoroo) - Thursday, 05 February 2009, 12:43 GMT
ech0s7, so you have "Empty Trash", "Make Link", "Move to trash" entries untranslated in Nautilus (don't bother about "Open as administator")?
Comment by Marco Rocco (ech0s7) - Thursday, 05 February 2009, 21:29 GMT
adoroo, yes, but uninstalling brasero i have solved the problem.
Comment by Alessandro Doro (adoroo) - Thursday, 05 February 2009, 21:54 GMT
I just have installed brasero and I can confirm:
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.
Comment by Alessandro Doro (adoroo) - Friday, 06 February 2009, 00:03 GMT
It seems that adding:
textdomain ("nautilus");
in funcion nautilus_module_initialize (GTypeModule *module)
brasero-0.9.1/nautilus/nautilus-burn-extension.c
Comment by Alessandro Doro (adoroo) - Friday, 06 February 2009, 00:08 GMT
Ok, I punished my hand for the previous post :)

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.
Comment by Allan McRae (Allan) - Friday, 06 February 2009, 04:56 GMT Comment by Sebastian Frysztak (koralgol) - Saturday, 28 February 2009, 20:50 GMT
http://launchpadlibrarian.net/22041712/debdiff - here's patch for Debian-based distros.
Porting this patch to Arch is possible, right?
Comment by Allan McRae (Allan) - Saturday, 14 March 2009, 02:49 GMT
I have uploaded a patched brasero-0.91-2. Can someone confirm that this fixed it.
Comment by Alessandro Doro (adoroo) - Sunday, 15 March 2009, 00:10 GMT
Fixed for me.

Loading...