Functions§
- parse_
po_ string - Parse a minimal subset of PO syntax used across the workspace.
Supports single-line
msgid/msgstrpairs and optional reference lines (#: ...). - scan_
keyed_ xml - Very small XML scanner for RimWorld “Keyed” XML files.
It walks
rootand finds files that match*/Languages/*/Keyed/*.xml. For every<Key>Value</Key>pair found, it produces aTransUnitwith the key name, text value, file path and (approximate) line number.