dimanche 8 mars 2015

Change application language


Vote count:

0




I use Laravel 5. I tried to change the application language from English to German. For that I changed in the config/app.php file the following two lines:


'locale' => 'de',


'fallback_locale' => 'de',


Further I added to the resource/lang two folders 'de' and 'en'.


After that, I output the application language in my view file: Lang::getLocale() which allways show me 'en' as locale language. Is there an other file which needs to be updated to de/german?


What Did I wrong? Thanks for suggestions! Thank you



asked 24 secs ago







Change application language

Aucun commentaire:

Enregistrer un commentaire