

- #Prison architect wiki programs install#
- #Prison architect wiki programs rar#
- #Prison architect wiki programs download#
Then you need to unpack main.dat (it is actually a RAR archive) in game folder and rename main.dat to main1.dat (to make game not able to see this file). But Gettext is not native format for Prison Architect and i use my own python scripts to convert translated prison_architect.po file to /data/language/base-language.txt. I recommend use Poedit editor (google it). txt format, but it have structured information about translated strings. po file is Gettext format file for helping translators.

Right now Python PIL library dont support transparency in BMP format. makefont.pyĭescription: It generate custom fonts. Usage: python native2custom.py ĭescription: Convert all characters with replace pattern from file replace_pattern.txt. Usage: python po2prison.py prison_architect.poĭescription: Generate translated file using provided file prison_architect.po with your own downloaded translation. Translate all entries and save as prison_architect.po.Open prison_architect.pot with good text editor (i highly recommend use Poedit).Run: python prison2pot.py base-language.txt.Put base-language.txt from "/data/language/" into work folder.How-to (if you want to develop your own translation without using Zanata) Replace original game translation here "/data/language/" with new one from work folder (you also need to rename to base-language.txt).įor more help contact David Mason on Zanata team.Replace original game fonts here "/data/fonts/" with new one from work folder.Open verdana-bold-outline.png and save as verdana-bold-outline.bmp (BMP version 3 and type GrayscaleAlpha).Run from command line: python native2custom.py.Run from command line: python po2prison.py prison_architect.po.Run from command line: python makefont.py.Write in first line all characters from your alphabet in upper and lower case.Open in text editor replace_pattern.txt.Put downloaded prison_architect.po in work folder.
#Prison architect wiki programs download#

#Prison architect wiki programs install#

With Gettext, Python and these scripts our task become trivial. When new version of Prison Architect arrives you need to manually manipulate with game language files, compare difference, transfer translations. Why use this? Answer is simple: Gettext format allow you easy manage all language strings of application and collaborate with other translators on (and other collaborative translation websites/systems). This is python project with scripts, that will help translate applications, that use bitmap fonts (image with map of characters) and language strings in any simple text file (like base-language.txt in Prison Architect).
