#Support for Other Languages in Go
6 messages · Page 1 of 1 (latest)
correction, not necessarily at compile time, but just applied... in general
probably set by locale?
I usually just create a map[string]string, that stores the translations (or load from a embed json file if you want do lazy loading).
And then if the message is not complex, I'll just simply fmt.Sprintf it.
oh alright, simpler than I expected lol
thanks