Ludeon Forums

Ludeon Forums

  • August 19, 2019, 09:24:16 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How can I change 'pants' into 'trousers'?  (Read 281 times)

Falc8

  • Muffalo
  • *
  • Posts: 2
  • Refugee
    • View Profile
How can I change 'pants' into 'trousers'?
« on: May 14, 2019, 12:26:24 PM »

Pants means something different in British English so I would like to change all instances of 'pants' into 'trousers', just as the Queen would like me to.
Thanks
Logged

togfox

  • Drifter
  • **
  • Posts: 91
  • Refugee
    • View Profile
Re: How can I change 'pants' into 'trousers'?
« Reply #1 on: May 14, 2019, 06:05:55 PM »

I haven't checked but it might be a simple XML edit in one or two files. What are your text editing skills like?
Logged

Kirby23590

  • Planetologist
  • ****
  • Posts: 1128
  • Full Metal Yorkshire
    • View Profile
Re: How can I change 'pants' into 'trousers'?
« Reply #2 on: May 15, 2019, 11:40:59 AM »

Check out the Language Files... Not the Defs...

So no need for patching the files... Just a Simple New Language File in your English mod folder should do the trick...

Check out the Steel is Iron Mod... If you look inside my mod, it just has a language folder and no defs nor patches. It was all done by using DefInjected
Logged

One "happy family" in the rims...
Custom font made by Marnador.


Falc8

  • Muffalo
  • *
  • Posts: 2
  • Refugee
    • View Profile
Re: How can I change 'pants' into 'trousers'?
« Reply #3 on: May 17, 2019, 02:01:56 PM »

Thanks for your reply guys. I feel quite confident in editing text files, I was able to rename 'Fall' to 'Autumn' following advice in another thread.

Looking at the above mod, it looks like I would need to put an xml file as follows:

<Pants.label>Trousers</Pants.label>

Do you know the name of the xml file that I would need to put into DeInjected?

Logged

Kirby23590

  • Planetologist
  • ****
  • Posts: 1128
  • Full Metal Yorkshire
    • View Profile
Re: How can I change 'pants' into 'trousers'?
« Reply #4 on: May 17, 2019, 05:00:53 PM »

Sure!

English/DefInjected/ThingDef/Apparel_Various.xml

That's where the Pants is.

EDIT: Just copy the different language folders like a different one, and create a mod with the same structure except replace the diffrent language into English. Simple as that.
« Last Edit: May 20, 2019, 01:50:54 AM by Kirby23590 »
Logged

One "happy family" in the rims...
Custom font made by Marnador.