On Nov 28, 11:37 am, "Mark (Germany)" <[EMAIL PROTECTED]>
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---