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.

thanks

this is crazy… nobody can hel me??




<?php 

	

	use yii\helpers\Html;

	use yii\bootstrap\Nav;

	use yii\bootstrap\NavBar;

	use yii\widgets\Breadcrumbs;

	use app\assets\AppAsset;

	

	Html::csrfMetaTags();

	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() ?>

 

</body>

</html>

<?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


Zelenin\yii\modules\I18n\components\I18N

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

thanks