mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-15 09:14:08 +00:00
Add Hebrew and Urdu to the company language dropdown
Both lang/he.json and lang/ur.json shipped as empty Crowdin stubs but never made it into config('invoiceshelf.languages'), so admins could not pick either locale even after the matching font packages (noto-sans-hebrew, noto-naskh-arabic) landed in commit 04952d91. Add the two entries with native names (עברית, اردو) following the existing Svenska / ไทย / Tiếng Việt convention for non-Latin scripts.
Inserted alphabetically by English name — he between Greek and Hindi, ur after Ukrainian. The first PDF render for either locale will trigger ensureFontsForLocale() and synchronously install the corresponding font package; the UI itself stays mostly English until the Crowdin translations catch up, which is the intended trade-off — these locales are useful primarily as language tags for PDF rendering of Hebrew / Arabic-script customer data.
This commit is contained in:
@@ -81,6 +81,7 @@ return [
|
||||
['code' => 'fr', 'name' => 'French'],
|
||||
['code' => 'de', 'name' => 'German'],
|
||||
['code' => 'el', 'name' => 'Greek'],
|
||||
['code' => 'he', 'name' => 'עברית'],
|
||||
['code' => 'hi', 'name' => 'Hindi'],
|
||||
['code' => 'id', 'name' => 'Indonesian'],
|
||||
['code' => 'it', 'name' => 'Italian'],
|
||||
@@ -105,6 +106,7 @@ return [
|
||||
['code' => 'vi', 'name' => 'Tiếng Việt'],
|
||||
['code' => 'tr', 'name' => 'Turkish'],
|
||||
['code' => 'uk', 'name' => 'Ukrainian'],
|
||||
['code' => 'ur', 'name' => 'اردو'],
|
||||
],
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user