38 $variantfallbacks = [],
41 $this->mDescCodeSep =
':';
42 $this->mDescVarSep =
';';
43 parent::__construct( $langobj, $maincode,
53 $this->mVariantNames = array_merge( $this->mVariantNames, $names );
69 return $this->autoConvert( $key,
'gan' );
81 parent::__construct();
83 $variants = [
'gan',
'gan-hans',
'gan-hant' ];
85 'gan' => [
'gan-hans',
'gan-hant' ],
86 'gan-hans' => [
'gan' ],
87 'gan-hant' => [
'gan' ],
94 $variants, $variantfallbacks,
108 return parent::normalizeForSearch( $string, $autoVariant );