Skip to content
Nima jahan bakhshian edited this page May 25, 2023 · 3 revisions

Configurations

[
    'driver' => 'array|json',
    'langDir' => __DIR__ . '/lang/',
    'defaultLang' => 'en',
    'fallBackLang' => 'fa'
]

All settings that you can configure

  • driver => define the localization driver which accepts two values array or json
  • langDir => define the localization directory path which should be the name of the lang folder,
  • defaultLang => determines the default locale that will be used,
  • fallBackLang => determines the locale to use when the current one is not available
Clone this wiki locally