Just something I've come across, and wondered if anyone else has
noticed it. I've searched around a bit but not seen anything posted.
Relatively new to Cake so not sure if this is common.
I have table headers in a view for a paginated list of data like this:
<th><?=$paginator->sort(__('Name', true), 'list_name');?></th>
<th><?=$paginator->sort(__('Created', true), 'created');?></th>
What I did:
cake i18n extract -ouput app/locale
To generate my POT file for language translations. It should contain
all the __() function outputs.
Opened the default.pot file in POEdit to start translation.
What I expected:
Name and Created to be in the file so they could be translated
What happened:
They were not in the file.
It appears as though the extract command for cake i18n on the command
line is not parsing the __() function if it is in the $paginate->sort
() function as the display text
I just wondered if this is something I should raise a ticket about.
Oh and Hi by the way. First post to the group ;)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---