Saturday, May 29, 2010

Re: generate po files

If you use poedit you don't have to edit the po files after every code change even if you created the initial po file by yourself.
You just need to configure poedit to reference your code folders.

On Sat, May 29, 2010 at 12:04 PM, Igurpi <iurkiaga@gmail.com> wrote:
Any idea with this issue?? :-(

On May 28, 1:31 am, Igurpi <iurki...@gmail.com> wrote:
> I have generated my .po file using the "cake i18n extract" command in
> the shell. But in my cakephp app, I have some translations with the
> "__d" function: For example: "__d('admin', 'value')" where 'admin' is
> the domain name. I expected to get an admin.po file automatically with
> the shell function (as well as default.po), but it mixes all the
> translations into a one file (default.po).
> I've also tried to look into my app files using poedit, but if I
> config to extract the key of __d function, it takes the first
> parameter, and it should take the second one, so doesn't work. I know
> I could generate myself a admin.po file via text editor but it's not
> very usable, because each time a change is made, I have to edit
> manually the file.
> Any ideas for getting this work????
> Thanks!!!

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en



--
Regards,
Zaky Katalan-Ezra
QA Administrator
www.IGeneriX.com
Sites.IGeneriX.com
054-7762312

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: