Skip to content

Commit

Permalink
Merge pull request #2 from benwbrum/1-handle_urdu
Browse files Browse the repository at this point in the history
Add support for Urdu
  • Loading branch information
abarrak authored Feb 28, 2019
2 parents 6833cfb + 6824f80 commit 214f9f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rtl/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ module Rtl
"Inscriptional Pahlavi", "Psalter Pahlavi", "Book Pahlavi", "Phoenician",
"Inscriptional Parthian", "Samaritan", "Old South Arabian", "Syriac",
"Syriac (Estrangelo variant)", "Syriac (Western variant)",
"Syriac (Eastern variant)", "Thaana", "Woleai", "Persian", "Kurdish"]
"Syriac (Eastern variant)", "Thaana", "Woleai", "Persian", "Kurdish", "Urdu"]

# ISO 639 codes for RTL languages.
# If a language has 639-1 and 639-2 codes, both are included.
ISO_CODES = ["ar", "ara", "arc", "ae", "ave", "egy", "he", "heb", "nqo", "pal", "phn", "sam",
"syc", "syr", "fa", "per", "fas", "ku", "kur"]
"syc", "syr", "fa", "per", "fas", "ku", "kur", "ur", "urd"]

# ISO 15924 codes for RTL languages.
ISO_LONG_CODES = ['Adlm', 'Arab', 'Aran', 'Armi', 'Avst', 'Cprt', 'Egyd', 'Egyh', 'Hatr',
Expand Down

0 comments on commit 214f9f8

Please sign in to comment.