Issue
My table header look below
<th scope="col"><?= $this->Paginator->sort('name')?></th>
After generate POT file 'name' has not generate 'msgid' and 'msgstr'.
I have tried like below code but result is same.
<th scope="col"><?= __($this->Paginator->sort('name')) ?></th>
How I will prepare it before POT file generate ?
Solution
You can write your label like
<th scope="col"><?= $this->Paginator->sort('name',__('Name')) ?></th>
Answered By - Alimon Karim
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.