internationalization - CakePHP Getting Language Strings from Labels with Extract -
i getting language strings labels extract.
i have following code in view:
<?php echo $this->form->input('observee', array('label' => __(observee), 'type' => 'select', 'options' => $resultstaff, 'class' => 'input-large select')); ?>
when run cake i18n extract other language strings view expected not of ones being used in labels.
am missing here or bug?
careful
__(observee)
is not valid php, ide should warn it
correct be:
__('observee')
Comments
Post a Comment