Toolset to convert text from DF between different formats and prepare it for use in the game
Note
There are ready to use csv files for most of languages from transifex: https://github.com/dfint/autobuild
You need Python 3.10 (or higher) and poetry (pip install poetry
).
Clone or download the repo, then install dependencies it with poetry install
command
poetry run convert hardcoded_steam.po dfint_dictionary.csv cp1251
poetry run create_pot from_steam_text "./Dwarf Fortress/data/vanilla" ./pot_files/
poetry run create_pot from_string_dump stringdump.txt hardcoded_steam.pot