Ludeon Forums

RimWorld => Mods => Translations => Topic started by: Latta on August 23, 2016, 11:46:40 PM

Title: Almost complete English DefInjected for 15.1284-3
Post by: Latta on August 23, 2016, 11:46:40 PM
Use this as your translation's template.

Includes new defs for A15:
ChemicalDefs, InstructionDefs

Changed following folders to what they should be:

Download (https://www.dropbox.com/s/u4u8ely2e5xy24e/English%201284-3.rar?dl=0)

It might contain a few untranslatable parts or missing ones. I did my check but make sure to look at it again.
Title: Re: Almost complete English DefInjected for 15.1274
Post by: pluhi on August 24, 2016, 10:21:59 AM
Wow, thanks a lot! Is there any info on the location restrictions? Like drug related defs cannot be in separate folder, those have to be in ThingsDef, etc.

Checked them, it seems some stages are off. Should start from 0 not 1. Like CocaineAddiction.stages.1.label
Title: Re: Almost complete English DefInjected for 15.1274
Post by: Latta on August 25, 2016, 12:16:47 AM
Quote from: pluhi on August 24, 2016, 10:21:59 AM
Checked them, it seems some stages are off. Should start from 0 not 1. Like CocaineAddiction.stages.1.label

They are intended, as (I don't know why but) they actually has nothing in the first list. It's just <li></li>.
Title: Re: Almost complete English DefInjected for 15.1277
Post by: Latta on August 27, 2016, 01:35:09 AM
Updated to 1277: ConceptDefs and ThingCategoryDefs.
Title: Re: Almost complete English DefInjected for 15.1277
Post by: pluhi on August 28, 2016, 12:00:37 PM
Not sure when was this added, but found some useLabels (I really should disable auto update on steam :))). You have to  reference them like this:

Buildings_Misc:
<FirefoamPopper.comps.1.useLabel>Trigger firefoam popper</FirefoamPopper.comps.1.useLabel>

Items_Artifacts:
<PsychicInsanityLance.comps.1.useLabel>Activate</PsychicInsanityLance.comps.1.useLabel>
<PsychicShockLance.comps.1.useLabel>Activate</PsychicShockLance.comps.1.useLabel>
<PsychicAnimalPulser.comps.1.useLabel>Activate</PsychicAnimalPulser.comps.1.useLabel>
<PsychicSoothePulser.comps.1.useLabel>Activate</PsychicSoothePulser.comps.1.useLabel>

Items_exotic:
<Neurotrainer.comps.1.useLabel>Use neurotrainer to learn {0}</Neurotrainer.comps.1.useLabel>
Title: Re: Almost complete English DefInjected for 15.1277
Post by: Latta on August 28, 2016, 08:58:55 PM
Well uhh, I'm doing it by running a program, and as those have 'Label' in them it should've included. Guess its added recently and I didn't update yet.

Edit: Oh god they are in a abstract def! :'( :'( :'( :'(
Title: Re: Almost complete English DefInjected for 15.1280
Post by: Latta on August 30, 2016, 12:10:49 PM
Updated to 1280. Added useLabel, again lots of thanks to pluhi...
Title: Re: Almost complete English DefInjected for 15.1280
Post by: Sakuukuli on September 01, 2016, 07:07:23 AM
Hey, I have been doing almost the same thing on GitHub: https://github.com/Sakuukuli/RimWorld-Templates

I haven't updated it to alpha 15 yet because I have been busy, and my code needs rewriting, too. You can try my scripts if you have Python 3.2 installed. What's this mythical 'program' you are using?
Title: Re: Almost complete English DefInjected for 15.1280
Post by: capiqua on September 01, 2016, 09:40:02 AM
Alpha 15c changues in DefInjected:
DifficultyDef\
InstructionDefs\
Title: Re: Almost complete English DefInjected for 15.1280
Post by: Latta on September 01, 2016, 10:21:09 AM
Quote from: Sakuukuli on September 01, 2016, 07:07:23 AM
What's this mythical 'program' you are using?

C# Windows console program :P which uses regex. It would be better if it can really dig into RW's Assembly-CSharp.dll, its Defs, and find all strings but...
Title: Re: Almost complete English DefInjected for 15.1284
Post by: ykoehler on October 03, 2016, 11:22:24 PM
Under the ConceptDef folder, I am getting error from the game that the *.helpTexts do not exists.  If I append .0 to those, it works fine.
Title: Re: Almost complete English DefInjected for 15.1284-2
Post by: Latta on October 13, 2016, 03:51:11 AM

Quote from: ykoehler on October 03, 2016, 11:22:24 PM
Under the ConceptDef folder, I am getting error from the game that the *.helpTexts do not exists.  If I append .0 to those, it works fine.
I don't know... I didn't get any.