GNOME Bugzilla – Bug 136034
Translations "sr" and "sr@Latn" are both displayed in Nautilus context menus
Last modified: 2006-08-21 13:22:13 UTC
When running in sr_YU locale, Nautilus context menu displays both "sr" and "sr@Latn" translations for name property in .server files (eg. those of File Roller, or Rhythmbox). Basically, the correct behaviour would be to try one until a translation is found, and not to go through the rest of the translations. This kind of solution may cause a problem when running in sr_YU@Latn locale, when "sr" might match first (because it's first in the file), even though it's not the best match. So, perhaps the best would be to delay adding items to context menu until all translations are looked at, and then add only the last one considered the best. Though, I didn't read the code, and I may be waaaay off (this may even be a bug in libbonobo instead -- I'm too tired to think about it now, but I don't want to forget about reporting this).
Also not to forget: bonobo-activation/server/object-directory-load.c, function parse_oaf_attribute() parses the properties, but I didn't run etags yet to try to follow all the function definitions there.
The bug is most likely to be in: libbonobo/bonobo-activation/bonobo-activation-get-language-list.c whichi is an ugly cut/paste of other code in libgnome or somesuch; it needs comparing back with that to see if there are fixes elsewhere and/or fixing to cope with your oddly named locale ;-) HTH.
Is this problem still there Danilo?
I didn't see it in a long while. If needed, I'll reopen it.