Made this software to help RimWorld's community translators(1) to know what was modified on the last XML updates and to let them keep in track of what they need to add/remove from what has been done.
(1) and maybe other indie games that uses XML
$ go get github.com/ArxdSilva/XML-Comp
$ xml-comp -original /path/to/language/english -translation /path/to/language/translation
You need two paths that we call "original" & "translation", which are described bellow:
- "original": Full path directory of your RimWorld English folder
My path - as an example: "original" = /Users/arthur/Library/Application Support/Steam/steamapps/common/RimWorld/RimWorldMac.app/Mods/Core/Languages/English
- "translation": Full path directory of your RimWorld
Languagefolder cloned from GitHub
Me again: "translation" = /Users/arthur/Github/RimWorld-PortugueseBrazilian
With these paths in hand you run our program and It will let you know in a missingSomethieng.txt
file what is missing and where in your translation! That simple!
Now It only compares containing folders in given "original" to "translation" and creates "missingFolders.txt"
& "missingFiles.txt"
files into the "translation" directory.
$ git clone github.com/arxdsilva/xml-comp
$ cd xml-comp
$ go install
$ xml-comp help