[Xfce-i18n] WG: Re: Translation of "Application" and "Places" to German

Jari Rahkonen jari.rahkonen at pp1.inet.fi
Thu Aug 14 13:33:47 CEST 2008


Christian Dywan kirjoitti:
> Am Thu, 14 Aug 2008 12:52:34 +0300
> schrieb Jari Rahkonen <jari.rahkonen at pp1.inet.fi>:
> 
>> Christian Dywan kirjoitti:
>>> Am Wed, 13 Aug 2008 23:19:03 +0200
>>> schrieb Fabian Nowak <timystery at arcor.de>:
>>>
>>>> Am Mittwoch, den 13.08.2008, 20:50 +0000 schrieb Michael Kremser:
>>>>> Indeed, installation of the "language-support-gnome-de" package
>>>>> changed "Clear" to "Leeren". Anyway, there's still "Applications"
>>>>> and "Places" there.
>>>>>
>>>>> Greetings,
>>>>>
>>>>> Michael
>>>>>
>>>>>
>>>> To be honest, I'd rather have a look at what Gnome and *Ubuntu
>>>> chose as default translations. IIRC, it is "Anwendungen" and
>>>> "Orte". You might want to have a look at
>>>> http://i18n.xfce.org/wiki/team_de and insert your name below and
>>>> coordinate a little bit at what exactly you would like to work on.
>>> Note that "Places" is actually called "Orte" on my box. And if I
>>> empty the entry in the properties and close the dialog, it uses the
>>> localized string again. So if it doesn't work in Xubuntu, it looks
>>> to me like a problem with Ubunutu but not the plugin itself.
>> If you have not changed the title manually in the configuration
>> dialog, it appears that your distro already does the substitution at
>> install time.
> 
> Nope. The packages are not altered from upstream, no install time magic.
> If I add a new Places item it defaults to the localized name. Further
> more the title of the context menu of the item is translated as well.
> Is that the case with your setup as well?
> 
> ciao,
>     Christian

Everything is translated just fine, except for the plugin button titles.
 This is not a general i18n issue.

I had a quick look at the desktop-menu-plugin sources and it seems it
indeed has the default string ("Xfce Menu") properly marked for
translation, but there is simply no visual way to get the original
string back once the first value is written to the config. Substituting
the default string in case the entry field is left empty would work, but
I'm not sure of the usability/discoverability aspect.

Would someone building from source be interested in testing if this
trivial patch to Xfdesktop does the trick for the menu plugin anyway?

Index: panel-plugin/desktop-menu-plugin.c
===================================================================
--- panel-plugin/desktop-menu-plugin.c	(revision 27445)
+++ panel-plugin/desktop-menu-plugin.c	(working copy)
@@ -481,7 +481,7 @@
                                                    TRUE);

     value = xfce_rc_read_entry(rcfile, "button_title", NULL);
-    if(value) {
+    if(value && value != "") {
         g_free(dmp->button_title);
         dmp->button_title = g_strdup(value);
     } else



More information about the Xfce-i18n mailing list