Ниже приведены примеры контроллера и представления для вывода локализованных сообщений.
Контроллер:
$this->view->message = $this->lmsg('helloMessage');
Представление:
<b><?php echo $this->lmsg('helloMessage'); ?></b>
Is this page helpful?
Yes No
Thank you for the feedback! Please tell us if we can improve further.
Sorry to hear that. Please tell us how we can improve.