0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-04-06 13:45:29 +00:00

Added Farsi language available

Closes 
This commit is contained in:
Dan Brown 2022-05-09 14:58:04 +01:00
parent 4a2a044f3d
commit b4f29a85ab
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
2 changed files with 3 additions and 1 deletions
app/Http/Middleware
resources/lang/en

View file

@ -11,7 +11,7 @@ class Localization
/**
* Array of right-to-left locales.
*/
protected $rtlLocales = ['ar', 'he'];
protected $rtlLocales = ['ar', 'fa', 'he'];
/**
* Map of BookStack locale names to best-estimate system locale names.
@ -30,6 +30,7 @@ class Localization
'es_AR' => 'es_AR',
'et' => 'et_EE',
'eu' => 'eu_ES',
'fa' => 'fa_IR',
'fr' => 'fr_FR',
'he' => 'he_IL',
'hr' => 'hr_HR',

View file

@ -279,6 +279,7 @@ return [
'es_AR' => 'Español Argentina',
'et' => 'Eesti keel',
'eu' => 'Euskara',
'fa' => 'فارسی',
'fr' => 'Français',
'he' => 'עברית',
'hr' => 'Hrvatski',