For the [[ https://meta.wikimedia.org/wiki/Grants:Project/PanLex/Balinese_palm-leaf_transcription_platform_on_Wikisource | Balinese palm-leaf project grant ]] I'm working on, I will need the ability to transliterate text in Balinese script to Latin script. The output will look something like this [[ https://palmleaf.org/wiki/carcan-kucing | Palmleaf.org page ]].
The transliteration rules will be implemented in the new Balinese LanguageConverter class (under review). However, the existing LanguageConverter facilities are not sufficient, because I don't want to convert whole pages into either Balinese or Latin script. Rather, I want the Latin transliteration to //supplement// the Balinese original and appear below it. This means that I need a way to convert particular chunks of wikitext from one Balinese variant to another, and insert the result in a flexible manner.
To do this, I propose adding a `<langconvert>` tag to CoreParserTags.php to allow flexible access to LanguageConverter. It takes two attributes: `from` (language variant from) and `to` (language variant to). For example, `<langconvert from="sr-el" to="sr-ec">zdravo</langconvert>` would return "здраво" (Latin Serbian to Cyrillic Serbian).