[i18n] problem with the translation.php execution (win32)
Elier Delgado
elier.delgado at gmail.com
Tue Jan 23 12:33:55 PST 2007
Hi guys, here again ...
The gettext binaries, are already working, thanks for Jan.
I'm trying use a /po/translation.php to create a new languages files for a
new Horde aplication
(its a test aplication for me), but something don't work.
C:\AppServ\php\cli>php D:\WWW\horde\po\translation.php -d
--base=D:\WWW\horde\welcome extract --module=welcome
'C:\Program' is not recognized as an internal or external command,operable
program or batch file.
---------------------------
Horde translation generator
---------------------------
Loading libraries...
Console_Getopt... OK
Console_Table... OK
File_Find... OK
Searching gettext binaries...
gettext... found: C:\Program Files\GnuWin32\bin\\gettext.exe
msgattrib... found: C:\Program Files\GnuWin32\bin\\msgattrib.exe
msgcat... found: C:\Program Files\GnuWin32\bin\\msgcat.exe
msgcomm... found: C:\Program Files\GnuWin32\bin\\msgcomm.exe
msgfmt... found: C:\Program Files\GnuWin32\bin\\msgfmt.exe
msginit... found: C:\Program Files\GnuWin32\bin\\msginit.exe
msgmerge... found: C:\Program Files\GnuWin32\bin\\msgmerge.exe
xgettext... found: C:\Program Files\GnuWin32\bin\\xgettext.exe
gettext version:
Warning: Your gettext version is too old and does not support PHP natively.
Not all strings will be extracted.
Searching Horde applications in D:\WWW\horde\welcome
Found directories:
D:\WWW\horde\welcome
Found applications: horde
--------------------------------------------------------
I'm using gettext-0.14.4 -- :(, --
This command should create a .pot file in somewhere ? --
I was test others ways,
C:\AppServ\php\cli>php D:\WWW\horde\po\translation.php extract
'C:\Program' is not recognized as an internal or external command,operable
program or batch file.
The command line is too long.
---------------------------
Horde translation generator
---------------------------
Loading libraries...
Console_Getopt... OK
Console_Table... OK
File_Find... OK
Searching gettext binaries...
gettext... found: C:\Program Files\GnuWin32\bin\\gettext.exe
msgattrib... found: C:\Program Files\GnuWin32\bin\\msgattrib.exe
msgcat... found: C:\Program Files\GnuWin32\bin\\msgcat.exe
msgcomm... found: C:\Program Files\GnuWin32\bin\\msgcomm.exe
msgfmt... found: C:\Program Files\GnuWin32\bin\\msgfmt.exe
msginit... found: C:\Program Files\GnuWin32\bin\\msginit.exe
msgmerge... found: C:\Program Files\GnuWin32\bin\\msgmerge.exe
xgettext... found: C:\Program Files\GnuWin32\bin\\xgettext.exe
gettext version:
Warning: Your gettext version is too old and does not support PHP natively.
Not all strings will be extracted.
Searching Horde applications in D:\WWW\horde\po/..
Found applications: horde
Extracting from horde... not changed
----------------------------------------------------------
This command should add to the horde.pot the gettext string in
/welcome/templates/ ? --
If I delete the horde.pot, I have the same result but:
"Extracting from horde... updated", but any file is created.
Testing others command,
C:\AppServ\php\cli>php D:\WWW\horde\po\translation.php init -l es_CU
'C:\Program' is not recognized as an internal or external command,operable
program or batch file.
'C:\Program' is not recognized as an internal or external command,operable
program or batch file.
---------------------------
Horde translation generator
---------------------------
Loading libraries...
Console_Getopt... OK
Console_Table... OK
File_Find... OK
Searching gettext binaries...
gettext... found: C:\Program Files\GnuWin32\bin\\gettext.exe
msgattrib... found: C:\Program Files\GnuWin32\bin\\msgattrib.exe
msgcat... found: C:\Program Files\GnuWin32\bin\\msgcat.exe
msgcomm... found: C:\Program Files\GnuWin32\bin\\msgcomm.exe
msgfmt... found: C:\Program Files\GnuWin32\bin\\msgfmt.exe
msginit... found: C:\Program Files\GnuWin32\bin\\msginit.exe
msgmerge... found: C:\Program Files\GnuWin32\bin\\msgmerge.exe
xgettext... found: C:\Program Files\GnuWin32\bin\\xgettext.exe
gettext version:
Warning: Your gettext version is too old and does not support PHP natively.
Not all strings will be extracted.
Searching Horde applications in D:\USERS\Elier\WORK\COMUNIDAD\WWW\po/..
Found applications: horde
Initializing module horde... failed
Cleaning up PO files for module horde...
Skipped...
Merging translation for module horde...
Skipped...
-----------------------------------------------------------------------
Which you thinks that the problem is ? any idea ?
I'm using bad the command ?
Best regards, Elier
More information about the i18n
mailing list