Broken translation stuff

Jasper Huijsmans jasper at xfce.org
Sun Aug 22 18:57:44 CEST 2004


Danny Milosavljevic wrote:
> Hi,
> 
> Am Sonntag, den 22.08.2004, 17:30 +0200 schrieb Jasper Huijsmans:
> 
>>Hey,
>>
>>I was wondering i anyone could help me with this. I just committed some 
>>string changes for the panel and in the proces I change a item factory 
>>menu to a hand-build one. After that a lot of translation stopped 
>>working. I needed to use dgettext (PACKAGE, s) instead of _(s) to make 
>>it work again.
> 
> 
> is PACKAGE the same as GETTEXT_PACKAGE ?
> xfce_textdomain binds to GETTEXT_PACKAGE.
> 

Yes it is. It does work about half of the time still. I guess it depends 
on when gettext gets called. I think somehow the plugins interfere with 
the GETTEXT_PACKAGE setting.

	Jasper



More information about the Xfce4-dev mailing list