Skip to content

Commit

Permalink
Merge pull request #161 from Xoshbin/patch-1
Browse files Browse the repository at this point in the history
Added Kurdish character map
  • Loading branch information
rtconner authored Mar 21, 2019
2 parents f2eb740 + 1279dc9 commit 2b151ba
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,14 @@ public static function slug($str)
'' => 'o', '' => 'O', '' => 'u', '' => 'U', 'ũ' => 'u', 'Ũ' => 'U', '' => 'u', '' => 'U',
'ư' => 'u', 'Ư' => 'U', '' => 'u', '' => 'U', '' => 'u', '' => 'U', '' => 'u', '' => 'U',
'' => 'u', '' => 'U', '' => 'u', '' => 'U', '' => 'y', '' => 'Y', '' => 'y', '' => 'Y',
'' => 'y', '' => 'Y', '' => 'y', '' => 'Y'
'' => 'y', '' => 'Y', '' => 'y', '' => 'Y',

//Kurdish
'ا' => 'a', 'ب' => 'b', 'ج' => 'c', 'د' => 'd', 'ێ' => 'ee', 'ف' => 'f', 'گ' => 'g',
'ژ' => 'j', 'ک' => 'k', 'ل' => 'l', 'م' => 'm', 'ن' => 'n', 'ۆ' => 'o',
'پ' => 'p', 'ق' => 'q', 'ر' => 'r', 'س' => 's', 'ت' => 't', 'ڤ' => 'v', 'و' => 'w',
'خ' => 'x', 'ی' => 'y', 'ز' => 'z', 'ڕ' => 'rr', 'ە' => 'e', 'ح' => 'hh', 'ع' => 'a', 'ش' => 'sh', 'غ' => 'gh', 'ك' => 'k',
'ڵ' => 'll', 'چ' => 'ch', 'ھ' => 'h', "ئ" => ''
);

// Make custom replacements
Expand Down

0 comments on commit 2b151ba

Please sign in to comment.