]> BookStack Code Mirror - bookstack/commitdiff
Merge branch 'master' of git://github.com/kmoj86/BookStack into kmoj86-master
authorDan Brown <redacted>
Sat, 22 Sep 2018 11:23:17 +0000 (12:23 +0100)
committerDan Brown <redacted>
Sat, 22 Sep 2018 11:23:17 +0000 (12:23 +0100)
1  2 
config/app.php
resources/lang/en/settings.php

diff --cc config/app.php
index b0883b9bea6922780b062f7e7c6d114238909b0f,c98efadd59d6b4955af43eeab2bda86edcc33863..79c73df4aff4a62408adedfc584a17cdb86cf08a
@@@ -77,21 -77,8 +77,20 @@@ return 
      */
  
      'locale' => env('APP_LANG', 'en'),
-     'locales' => ['en', 'de', 'es', 'es_AR', 'fr', 'nl', 'pt_BR', 'sk', 'sv', 'ja', 'pl', 'it', 'ru', 'zh_CN', 'zh_TW'],
+     'locales' => ['en', 'ar', 'de', 'es', 'es_AR', 'fr', 'nl', 'pt_BR', 'sk', 'sv', 'ja', 'pl', 'it', 'ru', 'zh_CN', 'zh_TW'],
  
 +    /*
 +    |--------------------------------------------------------------------------
 +    | Auto-detect the locale for public users
 +    |--------------------------------------------------------------------------
 +    |
 +    | For public users their locale can be guessed by headers sent by their
 +    | browser. This is usually set by users in their browser settings.
 +    | If not found the default app locale will be used.
 +    |
 +    */
 +    'auto_detect_locale' => env('APP_AUTO_LANG_PUBLIC', true),
 +
      /*
      |--------------------------------------------------------------------------
      | Application Fallback Locale
Simple merge