Skip to content

Commit

Permalink
Merge pull request #103 from smoqadam/master
Browse files Browse the repository at this point in the history
add Persian language
  • Loading branch information
brandonwamboldt committed Jan 25, 2016
2 parents 3f7826b + b82f821 commit b032f25
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/utilphp/util.php
Expand Up @@ -214,6 +214,12 @@ class util
'ä' => 'a',
'ö' => 'o'
),
'fa'=>array( /* Farsi */
'آ'=>'aa', 'ا' => 'a', 'ب' => 'b','پ'=>'p', 'ت' => 't', 'ث' => 'th', 'ج' => 'j','چ'=>'ch', 'ح' => 'h', 'خ' => 'kh', 'د' => 'd',
'ذ' => 'z', 'ر' => 'r', 'ز' => 'z' , 'ژ'=>'zh','س' => 's', 'ش' => 'sh', 'ص' => 's','ض'=>'z', 'د' => 'd', 'ط' => 't',
'ظ' => 'th', 'ع' => 'aa', 'غ' => 'gh', 'ف' => 'f', 'ق' => 'gh', 'ك' => 'k', 'گ'=>'g', 'ل' => 'l', 'م' => 'm',
'ن' => 'n', 'ه' => 'h', 'و' => 'o', 'ي' => 'y' ,'ی'=>'y' , 'ِ'=>'e' , 'ُ'=>'o' ,'َ'=>'a'
)
);

/**
Expand Down

0 comments on commit b032f25

Please sign in to comment.