خرید بک لینک

Vote count: 0

i want to set the default locale to zh-tw from en, i changed the locale='en' to locale='zh-tw' in configapp.php,

'locale' => 'zh-tw',

but the view is keep using 'resourceslangen',

i've also tried but all not useful:
added APP_LOCALE in .env=zh-tw
run php artisan cache:clear

Why configapp.php locale setting has no effect and meanless in laravel?

Except to run setlocale('zh-tw') in every controller or create a middleware to set language, is there any other simplest method to change the default locale in few seconds?

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 24 ارديبهشت 1395 ساعت: 11:33

صفحه بندی