Since my yoga teacher told me to stop googling after the sixth page I'm here asking for help (my yoga teacher is a sage woman but she knows nothing about cake).
I tried to use i18n with a default.po file in an application and it works. Unfortunately with a single po file I can't get the best results, I need different translations in different views. So I found this article: http://bakery.cakephp.org/articles/view/p28n-the-top-to-bottom-persistent-internationalization-tutorial and tried what is suggested in comment #30. I had previously created the multiple pot files with the console and translated them with poedit. The problem is that this doesn't work for me. Nothing gets translated. I tried to put the code suggested in the aforementioned article in a controller or controllers/app_controller.php to no avail. I even put some logging code in i18n.php but nothing of what I expected happens: I18n::translate always gets called with a null $domain. I supposed that setting the $domain variable in beforeRender would force cake to look for a different po file but this is not happening with my setup. Any suggestion? thank you maxx 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en