added rtl support for hebrew + added to localMap

This commit is contained in:
Lior Broshi 2019-12-29 23:06:54 +02:00
parent 23ad8024ec
commit 80a50f1ecb

View 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',