preload button hover image:
Current Time: Sep 26, 2022, 07:05:38 am
 Dwarf Fortress File Depot » Utilities » Python language extraction and injection script
Registration is not required to download. However, it will allow you to vote, comment, and upload. Forgot your password?
File Listing: Python language extraction and injection script
Last Updated: Jan 04, 2014, 06:58:19 am
File version: 1
For DF version: N/A
Downloads: 115 Size: 693 bytes
Views: 2,141 Type: ZIP
Rating (0 votes): Unrated
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". e langfile wordlist
This extracts the words from langfile and creates (or overwrites) wordlist. You can now work with wordlist. 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.
Raw Data: JSON / Text
Checksum / Hash
SHA-256: cd29e5768ee93430c114ad059a3722b65214a5805d7538eed84cffb374dc206a
IP: logged
More From This Author
No comments have been posted for this file yet.

Website © 2022 FenriSoft. The core site script is PHCDownload (© 2005-2022).
Hosted by Linode.