Its just a basic example, you could add <script>alert('<?php echo __('text
to translate'); ?>');</script> to your layout. I think there are many
better options, but i dont know the best one.
Em terça-feira, 17 de abril de 2012 08h52min13s UTC-3, marco metal escreveu:
>
> Hi,
>
> Can any one tell me how to read messages from default.po
> inside JavaScript.
>
>
>
>
>
>
>
>
> Thanks,
>
> Marcus
>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php