File Listing: Python language extraction and injection script | ||||||||||||||||||||
Last Updated: Jan 04, 2014, 06:58:19 am
Author: Sallen
Download Now |
||||||||||||||||||||
Description
This simple script will extract words from language files and put them a word per line, for easy automatic translation or treatment. It can also read that list and put the translated words back in their place. Always backup your work! I take no responsibility for anything this script may do to you, your computer, your pets or your dwarves. This is how it works. It has two modes "extraction" and "injection". df_langex.py e langfile wordlist This extracts the words from langfile and creates (or overwrites) wordlist. You can now work with wordlist. df_langex.py i wordlist langfile When you are happy with your words, give it wordlist and it will overwrite langfile replacing the words in it with those in the list. Note that the same langfile should be used for extraction and injection, otherwise the word count won't match and things will get messed up. |
||||||||||||||||||||
Checksum / Hash | ||||||||||||||||||||
SHA-256: cd29e5768ee93430c114ad059a3722b65214a5805d7538eed84cffb374dc206a | ||||||||||||||||||||
IP: logged Commands |
||||||||||||||||||||
More From This Author |