37 $variantfallbacks = [],
41 $this->mDescCodeSep =
':';
42 $this->mDescVarSep =
';';
43 parent::__construct( $langobj, $maincode,
54 $this->mVariantNames = array_merge( $this->mVariantNames, $names );
70 return $this->autoConvert( $key,
'gan' );
84 parent::__construct();
86 $variants = [
'gan',
'gan-hans',
'gan-hant' ];
88 'gan' => [
'gan-hans',
'gan-hant' ],
89 'gan-hans' => [
'gan' ],
90 'gan-hant' => [
'gan' ],
97 $variants, $variantfallbacks,
112 return parent::normalizeForSearch( $string, $autoVariant );