35 'ب' =>
'b',
'ج' =>
'c',
'چ' =>
'ç',
'د' =>
'd',
'ف' =>
'f',
'گ' =>
'g',
'ھ' =>
'h',
36 'ہ' =>
'h',
'ه' =>
'h',
'ح' =>
'h',
'ژ' =>
'j',
'ك' =>
'k',
'ک' =>
'k',
'ل' =>
'l',
37 'م' =>
'm',
'ن' =>
'n',
'پ' =>
'p',
'ق' =>
'q',
'ر' =>
'r',
'س' =>
's',
'ش' =>
'ş',
38 'ت' =>
't',
'ڤ' =>
'v',
'خ' =>
'x',
'غ' =>
'x',
'ز' =>
'z',
47 # 'ئێ' => 'ê', # initial e
49 'ه' =>
'e', # with one non-joiner
50 'ه' =>
'e', # with two non-joiner
54 'ی' =>
'î', # U+06CC db 8c ARABIC LETTER FARSI YEH
55 'ى' =>
'î', # U+0649 d9 89 ARABIC LETTER ALEF MAKSURA
58 'ئ' =>
'', # initial hemze should not be shown
80 'b' =>
'ب',
'c' =>
'ج',
'ç' =>
'چ',
'd' =>
'د',
'f' =>
'ف',
'g' =>
'گ',
81 'h' =>
'ه',
'j' =>
'ژ',
'k' =>
'ک',
'l' =>
'ل',
82 'm' =>
'م',
'n' =>
'ن',
'p' =>
'پ',
'q' =>
'ق',
'r' =>
'ر',
's' =>
'س',
'ş' =>
'ش',
83 't' =>
'ت',
'v' =>
'ڤ',
84 'x' =>
'خ',
'y' =>
'ی',
'z' =>
'ز',
86 'B' =>
'ب',
'C' =>
'ج',
'Ç' =>
'چ',
'D' =>
'د',
'F' =>
'ف',
'G' =>
'گ',
87 'H' =>
'ح',
'J' =>
'ژ',
'K' =>
'ک',
'L' =>
'ل',
88 'M' =>
'م',
'N' =>
'ن',
'P' =>
'پ',
'Q' =>
'ق',
'R' =>
'ر',
'S' =>
'س',
'Ş' =>
'ش',
89 'T' =>
'ت',
'V' =>
'ڤ',
'W' =>
'و',
'X' =>
'خ',
90 'Y' =>
'ی',
'Z' =>
'ز',
93 # 'll' => 'ڵ', # wenn es geht, doppel-l und l getrennt zu behandeln
94 # 'rr' => 'ڕ', # selbiges für doppel-r
112 # Try to replace the leading vowel
134 # eyn erstmal deaktivieren, einfache Anführungsstriche sind einfach zu
135 # häufig, um sie als eyn zu interpretieren.
157 $variants = [
'ku',
'ku-arab',
'ku-latn' ];
158 $variantfallbacks = [
160 'ku-arab' =>
'ku-latn',
161 'ku-latn' =>
'ku-arab',
164 parent::__construct( $langobj,
'ku', $variants, $variantfallbacks );
213 if ( !isset( $this->mTables[$toVariant] ) ) {
214 throw new MWException(
"Broken variant table: " . implode(
',', array_keys( $this->mTables ) ) );
217 return parent::translate( $text, $toVariant );
Kurdish converter routines.
loadDefaultTables()
Load default conversion tables.
translate( $text, $toVariant)
It translates text into variant, specials:
A class that extends LanguageConverter with specific behaviour.
loadTables( $fromCache=true)
Load conversion tables either from the cache or the disk.
Wrapper around strtr() that holds replacements.