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'l' =>
'ⵍ',
'm' =>
'ⵎ',
'n' =>
'ⵏ',
61 'u' =>
'ⵓ',
'r' =>
'ⵔ',
'ṛ' =>
'ⵕ',
'γ' =>
'ⵖ',
's' =>
'ⵙ',
'ṣ' =>
'ⵚ',
62 'š' =>
'ⵛ',
't' =>
'ⵜ',
'ṭ' =>
'ⵟ',
'w' =>
'ⵡ',
'y' =>
'ⵢ',
'z' =>
'ⵣ',
63 'ẓ' =>
'ⵥ',
'ʷ' =>
'ⵯ',
'ɣ' =>
'ⵖ',
'v' =>
'ⵠ',
'p' =>
'ⵒ',
87 if ( is_object( $nt ) ) {
88 $ns = $nt->getNamespace();
95 parent::findVariantLink( $link, $nt, $ignoreOtherCond );
112 if ( trim( $text ) ) {
115 if ( $toVariant ==
'shi-tfng' ) {
116 $text = $this->mTables[
'lowercase']->replace( $text );
118 $text = $this->mTables[$toVariant]->replace( $text );
131 parent::__construct();
133 $variants = [
'shi',
'shi-tfng',
'shi-latn' ];
134 $variantfallbacks = [
141 $this->mConverter =
new ShiConverter( $this,
'shi', $variants, $variantfallbacks, $flags );
Base class for language conversion.
getPreferredVariant()
Get preferred language variant.
loadTables( $fromCache=true)
Load conversion tables either from the cache or the disk.
Internationalisation code.
Wrapper around strtr() that holds replacements.
Conversion script between Latin and Tifinagh for Tachelhit.
translate( $text, $toVariant)
It translates text into variant.
findVariantLink(&$link, &$nt, $ignoreOtherCond=false)
A function wrapper:
loadDefaultTables()
Load default conversion tables.