From fac9ad8cef19e9063ecd652d49143ac4bf8d0016 Mon Sep 17 00:00:00 2001 From: Darko Gjorgjijoski Date: Tue, 7 Apr 2026 12:35:01 +0200 Subject: [PATCH] Add Hebrew and Urdu to the company language dropdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- config/invoiceshelf.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/invoiceshelf.php b/config/invoiceshelf.php index 3be8e622..95cea065 100644 --- a/config/invoiceshelf.php +++ b/config/invoiceshelf.php @@ -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' => 'اردو'], ], /*