3

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

Ozal Zarbaliyev
  • 566
  • 6
  • 22

1 Answers1

4
trans('app.Fransa', [], 'az');
J. Doe
  • 1,682
  • 11
  • 22