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.
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 thekeywords
field, but that's aggressive, requires extra work and not good for mod compact.