i18n

I am trying to translate freePBX into Chinese by following this page from wiki here:
http://www.freepbx.org/trac/wiki/I18n

when I try to generate the amp.po I got warning:

[quote]config.php:329: warning: unterminated string literal
config.php:334: warning: unterminated string literal
config.php:343: warning: unterminated string literal
config.php:346: warning: unterminated string literal
config.php:355: warning: unterminated string literal
config.php:356: warning: unterminated string literal
footer.php:44: warning: unterminated string literal
footer.php:55: warning: unterminated string literal
page.modules.php:169: warning: unterminated character constant
page.modules.php:171: warning: unterminated character constant
page.modules.php:172: warning: unterminated character constant
page.modules.php:173: warning: unterminated character constant
page.modules.php:174: warning: unterminated character constant
page.modules.php:183: warning: unterminated character constant
page.modules.php:184: warning: unterminated character constant
page.modules.php:185: warning: unterminated character constant
page.modules.php:189: warning: unterminated character constant
page.modules.php:191: warning: unterminated character constant
page.modules.php:192: warning: unterminated character constant
page.modules.php:193: warning: unterminated character constant
page.modules.php:194: warning: unterminated character constant
[/quote]

Also, the amp.po is only 11K with 584 lines and it contain very limited words definations, most related with module admin. (/i18n/it_IT/LC_MESSAGES/amp.po has 4324 lines)

Is this i18n broken? Or maybe I am doing something wrong?

Please advice. Thanks.

bump

I am seeing this text at those lines:

[code:1]
printf( dgettext(“welcome page”,
“There are a large number of Plug-in modules available from the Online
Repository. This is
available by clicking on the Tools menu up the top, then
Module Admin, then
Check for updates online.
Modules are updated and patched often, so if you are having a problem, it’s
worth checking there to see if there’s
a new version of the module available.”),
“config.php?type=tool”,
“config.php?display=modules&type=tool”,
“config.php?display=modules&type=tool&extdisplay=online”
);
[/code:1]

It seems that gettext does not like this kind of strings… great :slight_smile:

On Thursday 14 December 2006 00:45, dynaguy wrote:

[quote] bump
[/quote]

Post generated using Mail2Forum (http://www.mail2forum.com)