Prison Architect

Prison Architect

Which side do you sit on?
Brutal Punishment or noble attempts to reform? From the Panopticon to the Supermax, this is your chance to publish or subscribe to the best prisons from the Architect community.
Creating a new language file
Okay, I'm trying to create a mod that changes all american terminology to UK terminology. I work in a UK prison and it would be a cool thing for me to have, if i manage it I may as well upload for you guys.

Now, I've been poking around in the game files and *think* I might have figured out how to add this to the game as a language option.

Can someone correct me if I'm wrong, as I really am new to this.

If I create a new folder in the language file and title it 'UK PRISONS' then simply copy/paste all the english .txt files into it, that's going to create an ingame option to switch language to my one titled UK PRISONS, right?

So all I have to do is go into my new folder and undergo the painstaking task of manually editing the base-language.txt and eula.txt files to reflect the UK wording. I see no reason to edit the fullgame.txt as that looks to just be for the story mode.

Have I got this right?
Thanks in advance
Last edited by TwistedYarnBall; 7 Jun, 2020 @ 8:50am
< >
Showing 1-3 of 3 comments
murgh 141 8 Jun, 2020 @ 12:48am 
Sort of, but not quite.

- create a new folder for your mod in:
C:\Users\YourUserName\AppData\Local\Introversion\Prison Architect\mods

- call it:
mods_UK_Prisons

- create a manifest.txt in this folder, with content:
Name "UK Prisons" Description "Some description on 1 line, use \n instead of Enter if you want blank lines" Author YourSteamName Date 8/6/2020 Version v1.0 IsTranslation false
note: The 'Name' is like the folder name, the space between UK and Prisons is resembled by the underscore in the mod foldername. You should adjust the date and version number when you update your mod. Since you want to alter the language and English is default anyway, I think you can leave 'IsTranslation' to false instead of true.

- create a thumbnail.png so the mod has an image to show in the workshop
- create a subfolder called data
- create a subfolder called data\language
- create a base-language.txt in that folder and copy the lines which you want to change from the default language file into your fresh language file.
- create a d11.txt as well, if you need to change tetx from the new stuff which was added.
- activate the mod in your mods list to see if it works, there you can also publish it.
Last edited by murgh; 8 Jun, 2020 @ 12:52am
Thank you very much Murgh!
I was just poking round the game file and trying to hazard a guess. Such a great detailed tutorial comment. Thank you again!

I'll have to have a play around this afternoon and do some testing. :)
Last edited by TwistedYarnBall; 8 Jun, 2020 @ 2:11am
Awesome! I had a spare 20 mins and did some testing. Got it working in game. Thank you so so much!

Now just to go through that original language file with a fine tooth comb. Feel like this is gonna take a while lol.
< >
Showing 1-3 of 3 comments
Per page: 1530 50