wrote:
> anybody some idea on that? :)
where have you ever seen a core.po file? I assume you mean default.po
Why not create (and I think quite a few people do it this way) a
wrapper function such as "___" which determins/derives/takes from a
constant/whatever the domain and then calls __d (or __nd or __x etc. )
with the appropriate params.
You may find however that using such a granular po 'scheme' causes you
issues. - what's the reason for it? e.g. putting yourself in a
possition where your logic expects to find an entry in "blogs.po" when
in fact you've put it in "comments.po"
hth,
AD
PS a controller should itself have very few __ calls (only flash
messages) since translating fixed strings is in principle view logic.
--~--~---------~--~----~------------~-------~--~----~
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:
Post a Comment