GnuCash website translation problem
Tao Wang
dancefire at gmail.com
Wed Jul 7 08:49:46 EDT 2010
Hi, Geert,
_("") is replaced by T_(""), so xgettext cannot recognize it by default,
however, xgettext support argument for additional keywords.
xgettext --keyword="T_" ...
I created a patch of Makefile for this. You can try it.
On Wed, Jul 7, 2010 at 10:11 PM, Geert Janssens
<janssens-geert at telenet.be>wrote:
> Some time ago, gettext has be replaced with php_gettext for the GnuCash
> website (part of a patch by Tao Wang to support Simplified Chinese).
>
> This change however causes xgettext to fail to extract the translatable
> strings from the webpages. Any idea what the replacement for xgettext is
> when
> using php_gettext ?
>
> Geert
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
--
Regards
Tao Wang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: htdocs-xgettext.patch
Type: text/x-patch
Size: 406 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20100707/724157b1/attachment.bin>
More information about the gnucash-devel
mailing list