Skip to content

13. Translation and some small notes on parameters

matthewes1 edited this page Apr 20, 2022 · 5 revisions

The information here is vital! Please read!!!

Currently translations are broken. I (Rain) believe this is due to a bug in Vanilla Rimworld. We are waiting on the devs response before I work on a solution.

There are some finicky things we must do with Translations when they come, some checks/parameters will need to be translated. This is due to us using the label instead of defName for some parameters. A good example are traits. Some traits have the same defName as other traits, so we must use the label. Some of the "INITIATOR_parameter here" parts also need to be translated. When we get translations working, I will make an exhaustive list of what needs to be changed.

In the future I plan to do my best to stick to defNames when we can. Some of the parameters may change, I am gonna try to avoid that for compatibility sake, but some improvements need to be made. I will make it very clear what I change and what needs to be changed. These will be simple changes needed, mostly just a find and replace.

If you would like to make a suggestion on a parameter, DM Rain on discord.

If you would like to see the list of parameters in real time, turn on dev mode in Rimworld and at the top, click the circle and square and turn on Log Gramma Resolution. When two pawns speak or one pawn tries to speak, it will print out the entire grammar trace + both pawns variables. This includes showing the variables post translation, so when translating you can do this once to see what all needs to be changes in the parameter checks.