Integrate Zend translator into my app

Posted by clinisbut on Stack Overflow See other posts from Stack Overflow or by clinisbut
Published on 2010-03-20T08:46:37Z Indexed on 2010/03/20 8:51 UTC
Read the original article Hit count: 434

Filed under:
|

Hello. I wish to use the Translator classes of Zend framework in my app, but I don't want to include the whole framework. I grabbed the:

  • Locale folder
  • Translate folder
  • Exception.php
  • Loader.php
  • Locale.php
  • Registry.php
  • Translate.php

and copied into a custom folder named zend.translator. Obviously I had to edit all them to adjust the includes to the new path... Is this the way to go? I'm worried to have to edit all those files every time a new version is released.

© Stack Overflow or respective owner

Related posts about zend-translate

Related posts about php