- if you have your translations in several files like users.po/mo,
posts.po/mo etc, just use proper 'text domain' as 1st argument of
__d() function
- if you have them in one file default.po/mo, allways use
__d('default', ...
Split translated texts to several files is not best solution for every
p
Would that mean I'd have to use the .po language files in an unusual
way... putting ALL of my language data into one file? That'd be a
drag!
On Aug 18, 2:08 am, "jitka (poLK)" <[EMAIL PROTECTED]> wrote:
> It is not cake issue, it is Zend problem with debug_backtrace() used
> so deep.
>
> Try
> ec
It is not cake issue, it is Zend problem with debug_backtrace() used
so deep.
Try
echo $form->input('username',array('label' =>
__d('users', 'Username',true)));
'users' means that this translation should be searched in users.mo/po,
so if you have one file with all translations named default.po/m
Any ideas on this folks?
On Aug 17, 12:02 am, citrus <[EMAIL PROTECTED]> wrote:
> I have the same problem while trying to use __() in my validation
> message.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
P
I have the same problem while trying to use __() in my validation
message.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubsc
I'm using the latest svn update of CakePHP "freakin awesome" 1.2.
This works:
$temp = __("Username",true);
echo $form->input('username',array('label' => $temp));
This doesn't, and I get an "internal server error"
echo $form->input('username',array('label' =>
__("Usernam