chi-rei-den / Localizer

Package based Terraria mod (tModLoader) localization manager and maker. No mod file modification needed.
https://mirror.sgkoi.dev/
GNU General Public License v3.0
205 stars 21 forks source link

ldstr translation #64

Closed Dan21la closed 2 years ago

Dan21la commented 2 years ago

Why I don't display the translation of class damage. Well, that is, I translated it to ldstr, but the game shows the original. Is there any way to fix this?

sgkoishi commented 2 years ago

Which mod & method? (It's really common if it doesn't work as expected before you read the source code of the mod.) Also, migration to tModLoader 1.4

Dan21la commented 2 years ago

What do you mean by method? Mod: Tremor

sgkoishi commented 2 years ago

There is a list of methods and each method contains several pairs of Source-Target text. Those are the underlying string (sequence of characters) of the mods as they were written in the code. So, it's not recommended to change ldstr entries unless they really know what each item means.

Some common ldstr not working reasons might be

Dan21la commented 2 years ago

Thanks for the help. The problem is solved. And I just decided to delete the entire translation and start over from the ldstr file, where I first translated the class damage. And now everything works.