gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.i18n.io / LangWriter / writeLangStream

writeLangStream

fun writeLangStream(stream: OutputStream, originalMsgIds: List<MsgId>, translations: Map<MsgId, MsgStr>, isOriginLanguage: Boolean = false): Unit

Write a *.lang file to an OutputStream.

Parameters

stream - the stream to write to

originalMsgIds - a list of the translatable strings in the base language

translations - a map from the strings in the base language to the translated strings

isOriginLanguage - true if the *.lang file is for the base language, false for all other languages