Skip to content

Toolset to convert text from DF between different formats and prepare it for use in the game

License

Notifications You must be signed in to change notification settings

dfint/df-translation-toolkit

Repository files navigation

df-translation-toolkit

Test Coverage Status Maintainability

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

Installation

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

Usage examples

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

About

Toolset to convert text from DF between different formats and prepare it for use in the game

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages