@ExperimentalUnsignedTypes class MoWriter
Writes a MO file for given base strings and associated translated strings.
MoWriter()
Writes a MO file for given base strings and associated translated strings. |
fun writeStream(stream: OutputStream, translations: Map<MsgId, MsgStr>, isBigEndian: Boolean): Unit
Writes the given translations as (low-endian) MO file to the given output stream |
val EMPTY_MSGID: MsgId
A MsgId with the empty string "" as the only string and no MsgId.context. The MoWriter adds the line "Content-Type: text/plain; charset=utf-8" to the translation of this empty string (if not already present). |