gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.i18n.io / MoReader / readFile

readFile

fun readFile(): Map<MsgId, MsgStr>

Reads the *.mo file at the given URL and returns the contained strings as a Map from MsgIds to MsgStrs.

Exceptions

NotImplementedError - If the file contains a string longer than Int.MAX_VALUE

IOException - If the

Return
a map from the base strings to their translated counter parts as read from the file