KongMD-Steam / QuestionableEthicsEnhanced

The source code of the Questionable Ethics Enhanced mod for RimWorld.
MIT License
12 stars 7 forks source link

Fix non-translatable strings #39

Closed KongMD-Steam closed 5 years ago

KongMD-Steam commented 5 years ago

Describe the bug As reported by Proxyer in the Steam comments, these strings are not currently translatable:

Expected behavior All strings can be easily translated

Screenshots Proxyer screenshot

KongMD-Steam commented 5 years ago

It looks like the backstory translations work a bit differently behind-the-scenes. I've gotten everything working except that one.

EDIT: @Proxyer - what does your folder structure look for the backstory translation? I think it should be in the DefInjected folder, instead of in the Backstories folder. It's a custom Def object in the SpecialDefs folder named QEthics.BackstoryDef

KongMD-Steam commented 5 years ago

I got the 'Vatgrown Clone' backstory translation working for French without any code changes. In this case, the backstory needs to be translated via the Languages/<language>/DefInjected/QEthics.BackstoryDef folder, instead of the Languages/<language>/Backstories folder.