Multi Language
Multi Language Settings
-
Let's add a new language Italy.
Create an it.json file in theresources/lang/folder. And refer to the other languages to add or update the keys and values for translation. -
You need to add a new language in the topbar dropdown in
the
file
resources/views/layouts/topbar.blade.phpfile and fin the class "language-switch". You can add a new language flag so it will be able to render in the topbar. -
You can use
{{ __('t-test') }}in the view.