ProjectStarlight / StarlightRiver

Starlight River mod
https://discord.gg/snWQ3QE
GNU General Public License v3.0
146 stars 43 forks source link

[Feature Request] Use Localization System For Keywords #672

Open lace-wing opened 9 months ago

lace-wing commented 9 months ago

Description

The current keyword system loads keyword matches from a .txt. For localization purpose it should utilize some sort of localization system, like tML's one.

I don't see an issue in adopting the .hjson manner for it.

I saw a //temporary debug behavior there but not a //TODO so ig you are not tracking it.

Alternatives?

Keywords in other languages can be added to the .txt file directly, but that will not get auto-updated or sync with your language (English) and hence will be a pain for reading and updating it.

Or, localization mods can replace the Load() method or the keywords field, but that's aggressive, requires extra work and not good for mod compact.