suniop.blogg.se

Prison architect wiki programs
Prison architect wiki programs













prison architect wiki programs
  1. #Prison architect wiki programs install#
  2. #Prison architect wiki programs rar#
  3. #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.

  • Russian translation for Steam version of Prison Architect.
  • Usage: python prison2po.py base-language.txt prison_architect.potĭescription: It convert translated file base-language.txt to Gettext catalog file. Usage: python prison2pot.py base-language.txtĭescription: It convert original file base-language.txt to Gettext template file.

    prison architect wiki programs

    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#

  • Choose download action of prison_architect document.
  • How-to (if you want to develop your own translation)
  • Choose upload action of prison_architect document.
  • Choose documents option in right upper corner.
  • Run from command line: python prison2po.py prison_architect.pot base-language.txt.
  • Important: your translated base-language.txt must contain native language characters (german, french, spain etc.).
  • Put in work folder translated base-language.txt.
  • Run from command line: python prison2po.py base-language.txt prison_architect.pot.
  • prison architect wiki programs

  • Put in work folder original base-language.txt.
  • Download all scripts from this repository and put them in work folder.
  • #Prison architect wiki programs install#

  • Install Python, Python PIL library, Python Polib library (Python version 2.7.8 or near).
  • Note: if you have your own translation, you can help project and upload it on Zanata website by following steps:
  • Open Prison Architect translation project page.įor more help contact David Mason on Zanata team.
  • Note: If you dont have account on, then you need sign up. How-to (if you want only to participate in translation)

    prison architect wiki programs

    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).















    Prison architect wiki programs