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