Ludeon Forums

RimWorld => Mods => Translations => Topic started by: Tynan on July 17, 2015, 01:27:12 PM

Title: New feature for next version
Post by: Tynan on July 17, 2015, 01:27:12 PM
Just letting you all know.

In the next version, there will be an easier syntax for path-based translations.

This:


<rep>
<path>Psychopath.degreeDatas[0].label</path>
<trans>Psychopathe</trans>
</rep>


Can now be written like this:

<Psychopath.degreeDatas.0.label>Psychopathe</Psychopath.degreeDatas.0.label>


The old syntax will also still work.
Title: Re: New feature for next version
Post by: Haplo on July 17, 2015, 04:55:05 PM
Nice to know, thanks. Hopefully I don't forget it until then ;D
Title: Re: New feature for next version
Post by: Tynan on July 17, 2015, 05:01:27 PM
Quote from: Haplo on July 17, 2015, 04:55:05 PM
Nice to know, thanks. Hopefully I don't forget it until then ;D

In your case you can use it now! An early test build is up in private.