__construct(Language $language, string $langCode, array $variants, ?array $variantfallbacks=null, ?array $flags=null, ?array $manualLevel=null) | Wikimedia\Parsoid\Language\LanguageConverter | |
autoConvertToAllVariants(Env $env, DOMDocument $doc, string $text) | Wikimedia\Parsoid\Language\LanguageConverter | static |
baseToVariant(Env $env, Node $rootNode, $htmlVariantLanguage, $wtVariantLanguage) | Wikimedia\Parsoid\Language\LanguageConverter | static |
classFromCode(string $code, bool $fallback) | Wikimedia\Parsoid\Language\LanguageConverter | static |
findVariantLink( $link, $nt, $ignoreOtherCond) (defined in Wikimedia\Parsoid\Language\CrhConverter) | Wikimedia\Parsoid\Language\CrhConverter | |
getMachine() | Wikimedia\Parsoid\Language\LanguageConverter | |
guessVariant( $text, $variant) | Wikimedia\Parsoid\Language\LanguageConverter | |
implementsLanguageConversionBcp47(Env $env, Bcp47Code $htmlVariantLanguage) | Wikimedia\Parsoid\Language\LanguageConverter | static |
loadDefaultTables() (defined in Wikimedia\Parsoid\Language\CrhConverter) | Wikimedia\Parsoid\Language\CrhConverter | |
loadLanguage(Env $env, Bcp47Code $lang, bool $fallback=false) | Wikimedia\Parsoid\Language\LanguageConverter | static |
maybeConvert(Env $env, Document $doc, ?Bcp47Code $htmlVariantLanguage, ?Bcp47Code $wtVariantLanguage) | Wikimedia\Parsoid\Language\LanguageConverter | static |
setMachine(ReplacementMachine $machine) (defined in Wikimedia\Parsoid\Language\LanguageConverter) | Wikimedia\Parsoid\Language\LanguageConverter | |
translate( $fromVariant, $text, $toVariant) | Wikimedia\Parsoid\Language\LanguageConverter | |