[Solved] Unrecognized Locale

Hello, I wanna ask about yii multi language…

I get error like the attached image 4390

Unrecognized Locale.png

I already set on main.php



because I find out some solution in similar threads, but it doesnt work…

It happens when I login, because there is dateformatter code.

echo Yii::app()->dateFormatter->formatDateTime(Yii::app()->user->create_at, 'long', null);

Actually, if I press back button, I’m logged in, and the date doesnt matter,

Why does it become like that? What should I do?