Forums / Developer / why not gettext in eZ?

why not gettext in eZ?

Author Message

liu spider

Saturday 27 May 2006 9:30:19 am

Anyone can enlighten me why eZ publish did not choose to use gettext?

currently, eZ uses an i18n text translation system modified from the Qt one. I just wonder why not use gettext directly, as it is a built-in feature of php.

IMO binary files of translation are faster than caching text in php files.

AFAICT, gettext can be used in windows as well

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Kristof Coomans

Sunday 28 May 2006 1:39:36 am

Hi Liu

I have no idea why they've chosen for the current translation system, but the gettext extension for PHP is not enabled on every shared hosting. Of course they could have implemented the gettext functions in PHP and use these functions in case the extension is not enabled, like they did with the DOM XML extension.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

liu spider

Sunday 28 May 2006 10:25:21 am

I wonder exactly the same thing

so can any eZ crew lit a candle here?

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd