]> BookStack Code Mirror - bookstack/commitdiff
added rtl support for hebrew + added to localMap 1827/head
authorLior Broshi <redacted>
Sun, 29 Dec 2019 21:06:54 +0000 (23:06 +0200)
committerLior Broshi <redacted>
Sun, 29 Dec 2019 21:06:54 +0000 (23:06 +0200)
app/Http/Middleware/Localization.php

index 07852bb00f735a8f265a80c8ac0c7a204a193ba6..04d121b0969fa5fe1ede91422fb358f18aef4642 100644 (file)
@@ -11,7 +11,7 @@ class Localization
      * Array of right-to-left locales
      * @var array
      */
-    protected $rtlLocales = ['ar'];
+    protected $rtlLocales = ['ar', 'he'];
 
     /**
      * Map of BookStack locale names to best-estimate system locale names.
@@ -25,6 +25,7 @@ class Localization
         'es' => 'es_ES',
         'es_AR' => 'es_AR',
         'fr' => 'fr_FR',
+        'he' => 'he_IL',
         'it' => 'it_IT',
         'ja' => 'ja',
         'kr' => 'ko_KR',