[14.1238] Unable to translate meat/leather/corpse label & description

Started by Latta, July 18, 2016, 02:54:58 PM

Previous topic - Next topic

Latta

Used <rep> and <trans>.


    <rep>
        <path>Pig.race.leatherLabel</path>
        <trans>Something</trans>
    </rep>
    <rep>
        <path>Pig.race.meatLabel</path>
        <trans>Somethings</trans>
    </rep>


This bug, specifically, is that "generated" items won't use translated (or, injected) item label. Instead, they use original item's label. This applies to meat, leather, corpse, stone floors (rough, hewn, smooth), apparel and weapon recipes. In short, everything not defined in text but dynamically added.

AFAIK this bug has been in place over a year. I found a workaround when I decompiled the game a while ago, but it makes everything complex and unnecessarily long. (See ludeon/RimWorld-Korean/defInjected/RecipeDefs/Recipes_Generated.xml)