aaaaxy
aaaaxy copied to clipboard
Internationalization
This seems good:
https://pkg.go.dev/golang.org/x/text/message
For menu and game code strings, we can use p.Sprint() directly and the extractor should just work; for in-game stuff, however, we need to write a custom extractor that gets the translatable strings out of the .tmx file.
Seems very feasible though. Do need to figure out how to make it auto extractable from source; if this doesn't seem feasible, we may need a different approach. Support for a website like Transifex would be nice, although not required.