[Phpug] l10n and i18n

Pádraic Brady padraic.brady at yahoo.com
Thu Jan 17 20:50:00 GMT 2008


The Zend Framework has a Zend_Translate component you could look at. It has support for gettext files, CSV, and several standardised XML formats for translations.

http://framework.zend.com/manual/en/zend.translate.html
 
Pádraic Brady

http://blog.astrumfutura.com
http://www.patternsforphp.com
OpenID Europe Foundation


----- Original Message ----
From: Deathmaster <deathmaster at iol.ie>
To: phpug at lists.iephpug.org
Sent: Thursday, January 17, 2008 7:44:53 PM
Subject: [Phpug] l10n and i18n


Hello there

I was wondering if any of you guys have a good suggestion when it comes
 to 
localization of a php application

my boss threw the challenge at me (translating a whole app in a foreign
 
language), and i thought it would be much better to find a scalable
 approach 
to the problem, rather than creating a classic  /app/en, /app/de,
 /app/it 
etc. structure

The whole problem really boils down to the translation of button,
 labels and 
js  messages
I considered using xml files, or constructing arrays to manage the 
translation, but before I dive into it, I thought i'd better ask the
 almighty 
PHPUG

I'm sure someone else had this painful problem to solve before, so i'm
 hoping 
you come up with something interesting, to my eternal gratitude

thanks
Joe
_______________________________________________
Phpug mailing list
Phpug at lists.iephpug.org
http://lists.iephpug.org/mailman/listinfo/phpug
Member Map http://www.frappr.com/irishphpusersgroup/
Membership Planner Calendar: http://tinyurl.com/opjd5





More information about the Phpug mailing list