This code for language conversion should move out of Parsoid and into core as an OutputTrasnform pass.
As part of this, we might drop the dependency on wikimedia/langconv and switch back to using mediawiki-core's implementation of LanguageConverter for the actual conversion, although the markup parsing will still be done by Parsoid.