Translating Problem

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:

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

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.