Readers and writers for *.mo files (binary format used by gettext) and *.lang files (custom binary format used by JOSM)
data class FourBytes
Container class for four bytes, that can then be converted to a Long value, either as big endian or little endian. |
|
class LangReader
A reader class for reading the custom *.lang file format of JOSM. |
|
class LangWriter
Writer for creating *.lang files from a Map of MsgIds to MsgStrs, which e.g. MoReader.readFile can produce. |
|
class MoReader
Reads the strings contained inside a *.mo file. |
|
class MoWriter
Writes a MO file for given base strings and associated translated strings. |
|
data class MsgId
A translatable string (MsgStr) in the base language with an optional String context. |
|
data class MsgStr
A single translatable string in singular and optionally one or more plural versions. |