[i18n] Using windows.

Shashidhar G shashidharg at aztecsoft.com
Wed Jan 31 03:44:44 PST 2007


Hello,

            I am working on localization of horde on windows platform,
and am following the instruction provided for translation.php.

            I have installed gettext in the folder "C:\Program
Files\GnuWin32\bin", and when running the translation.php on the command
prompt I get an error saying



            'C:\Program' is not recognized as an internal or external
command



            Since there is a space between 'Program' and 'Files' it
throws this error, as windows supports spaces in files and directories
name. So I had to modify translation.php. I included basename()
functionality to extract the file name. And it executed worked fine.



            While going thorough the code of translation.php and
System.php, I noticed that the getext.exe is searched in all environment
paths. If not found the program is terminated. Then why is it required
to give the full physical path for executing gettext.exe? As the files
in the environment path can be accessed from anywhere. Then the spaces
on windows machine would not matter for these execution.





Regards,

Shashidhar.G




The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.

www.aztecsoft.com


More information about the i18n mailing list