Skip to content

Commit

Permalink
Merge pull request #816 from intuxicated/master
Browse files Browse the repository at this point in the history
add farsi transliterate file
  • Loading branch information
digitalfrost authored Dec 11, 2018
2 parents e3b229f + 058c7ef commit 3fb6fbc
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions rails/transliteration/fa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
fa:
i18n:
transliterate:
rule:
'آ': 'a'
'ا': 'a'
'ب': 'b'
'پ': 'p'
'ت': 't'
'ث': 's'
'ج': 'g'
'چ': 'ch'
'ح': 'h'
'خ': 'kh'
'د': 'd'
'ذ': 'z'
'ر': 'r'
'ز': 'z'
'ژ': 'j'
'س': 's'
'ش': 'sh'
'ص': 's'
'ض': 'z'
'ط': 't'
'ظ': 'z'
'ع': 'a'
'غ': 'q'
'ف': 'f'
'ق': 'q'
'ک': 'k'
'گ': 'gh'
'ل': 'l'
'م': 'm'
'ن': 'n'
'و': 'v'
'ه': 'h'
'ی': 'i'
'۰': '0'
'۱': '1'
'۲': '2'
'۳': '3'
'۴': '4'
'۵': '5'
'۶': '6'
'۷': '7'
'۸': '8'
'۹': '9'

0 comments on commit 3fb6fbc

Please sign in to comment.