Strings are defined in languages files, by default lang/english.lng file looking like (picked a random english sample file, so yours may look different):Ben1338 wrote:Well, that's interesting, I've been trying to compile the source as-is following https://www.tt-wiki.net/wiki/NMLTutoria ... sing_NML_3, Including "Klmnc ERROR: "ratings.nml", line13: Unknown string "STR_GRF_NAME"
I've tried to implement patches by substituting them with names, and they seem to work. But I wondered if it compiles okay for you?
Code: Select all
##grflangid en_GB
STR_NULL :
STR_REGRESSION_NAME :NML regression test
You can have several .lng files, for different languages. In this way you can have translations for your grf.