[Goodies-dev] How to localize internal plugins

Nick Schermer nickschermer at gmail.com
Tue May 10 13:02:59 CEST 2011


On Mon, May 9, 2011 at 11:49 PM, Hakan Erduman <hakan at erduman.de> wrote:
> On Mon, 9 May 2011 22:57:07 +0200
> wrote Nick Schermer <nickschermer at gmail.com>:
>
>> On Mon, May 9, 2011 at 10:17 PM, Hakan Erduman <hakan at erduman.de>
>> wrote:
>> > Hello fellow developers,
>> >
>> > whenever I declare my plugin to be internal, the panel reverts to
>> > English. Is it true that for a plugin to be internal, its
>> > localizations must be merged into xfce4-panel.mo?
>> >
>> > That would be very unfortunate, unless another workaround exists.
>>
>> Should work fine. Do you use xfce_textdomain when constructing the
>> plugin?
>>
>> Nick
>
> Yes, exactly. If you would like to have a look:
> svn co <https://erduman.de/svn/xfce4-squeezebox-plugin>

I'll give it a look a bit later. But I see you are using dbus, so an
internal plugin is not recommended with such dependencies, since it
can hang the entire mainloop (which obviously also affects the panel
response).

Nick



More information about the Goodies-dev mailing list