Skip to content

Commit 3d5758e

Browse files
authored
i18n: Add comprehensive initial Arabic translation (ar.edn) (#12337)
* Create ar.edn * Update ar.edn * Update dicts.cljc * Update dicts.cljc * Add Arabic Translation Upload the Arabic language file after translation * Refactor language dictionaries and remove duplicates * Update dicts.cljc * Remove nested commands from ar.edn Removed nested commands for PDF and editor functionalities from the Arabic dictionary file. * Fix errors related to keys in "commands" brackets The keys were moved from inside the "commands" brackets to outside them, with the keys syntax corrected by adding "command." to each key that was inside the brackets. * Update ar.edn Fixing an error where the translation matches the English language file. * Clean up deprecated translation keys * Update ar.edn * Create build-linux.yml * Delete .github/workflows/build-linux.yml
1 parent e7bfd53 commit 3d5758e

2 files changed

Lines changed: 564 additions & 2 deletions

File tree

src/main/frontend/dicts.cljc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
:uk (edn-resource "dicts/uk.edn")
6363
:fa (edn-resource "dicts/fa.edn")
6464
:id (edn-resource "dicts/id.edn")
65-
:cs (edn-resource "dicts/cs.edn")})
65+
:cs (edn-resource "dicts/cs.edn")
66+
:ar (edn-resource "dicts/ar.edn")})
6667

6768
(def languages
6869
"List of languages presented to user"
@@ -88,7 +89,8 @@
8889
{:label "Slovenčina" :value :sk}
8990
{:label "فارسی" :value :fa}
9091
{:label "Bahasa Indonesia" :value :id}
91-
{:label "Čeština" :value :cs}])
92+
{:label "Čeština" :value :cs}
93+
{:label "العربية" :value :ar}])
9294

9395
(assert (= (set (keys dicts)) (set (map :value languages)))
9496
"List of user-facing languages must match list of dictionaries")

0 commit comments

Comments
 (0)