I have az/app.php, en/app.php and ru/app.php language files in resources/lang directory, let's say app language is en right know, but I wanna get az language value without changing app language.
trans('app.Fransa')
works with current app language so if it is en it gives France, but there is a places in app I need somehow call trans('az.app.fransa') like this, but this way not works
Asked
Active
Viewed 1,105 times
3

Ozal Zarbaliyev
- 566
- 6
- 22
-
https://laravel.com/docs/5.6/localization – Bas Jul 05 '18 at 09:57
-
App::setLocale($locale); – Bas Jul 05 '18 at 09:59