i18n not working

Hello everybody, i have a strange issue.

every translate message is in view, not working.

evert translate message is in layout working.

how is possible?

i just copy and paste the same code from view to layout and working.

I am using translation from database.


this is crazy… nobody can hel me??



	use yii\helpers\Html;

	use yii\bootstrap\Nav;

	use yii\bootstrap\NavBar;

	use yii\widgets\Breadcrumbs;

	use app\assets\AppAsset;



	include('include/header.php'); // Working translate in this file ?>


        <?php echo $content // NOT Working translate from view ?>


	<?= $this->render('include/sidebar'); // Working translate in this file ?> 


        <?= $this->render('include/footer'); // Working translate in this file ?> 

<?php $this->endBody() ?>




<?php $this->endPage() ?>

What do you have in your view file?

Are you using modules? Please paste her code example so we can see what is happening.

yes i am using


I opened an issue in github too, and i put some code to read.