Jump to content

Localisation Template Generator Bug

  • Branch: Live Branch Version: Windows Fixed

There is a bug in the Method  "Localization.WriteStringsTemplate()":

during this method, it checks if there are any forms of smart quotes in the string,

if there are any, it logs an Error for "Smart quotes or ellipses detected in ".

Logging this with  LogError crashes the game.


This happend for a user of one of my mods using chinese translation, since I reuse a game string that apparently contains one of these symbols in the official chinese translation.


since there are replacer methods for these smart quotes following afterwards, I assume that this needs to be changed from "LogError" to "LogWarning", doing so with a transpiler prevents the crash

Steps to Reproduce

call the afformentioned method, Localization.WriteStringsTemplate() while having a string that contains one of these smart quotes

User Feedback

A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

Changed Status to Fixed

This will be fixed in the next update. Thanks for pointing it out.

  • Like 2
  • Thanks 1

Share this comment

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...