Hi,
I'm using the following code and it works:
$translate = new Zend_Translate('gettext', '/path/to/mo', 'en);
$translate->addTranslation('/path/to/othermo', 'en');
So I just defined the locale of the first file, too. I'm not shure, if
this is supposed to work like this, but it seems to work for me. You
might try this out!
Sincerely,
Reto
On Jan 29, 2008 1:01 AM, Cristian Bichis <[EMAIL PROTECTED]> wrote:
>
> No reply to this ?
>
> It's maybe even a bug report on Zend_Translate...
>
> Cristian
>
> Hello,
>
> It is possible to merge two translation objects data using same language ?
>
> Sample:
> i am using general.en and also module.en files, and i need for english to
> translate from both.
>
> By using this:
>
> $translate = new Zend_Translate('csv', './data/module.en');
> $translate->addTranslation('./data/general.en', 'en');
>
> Seems even translation from first file is stopped working.
>
>
> --
> Best regards,
> Cristian Bichis
> www.zftutorials.com | www.zfforums.com | www.zflinks.com | www.zftalk.com
>
>