Translations support
Looking into ways to add translations to this mod for both client-side and server-side installs.
I've started using Text.translatableWithFallback()
to provide text that can be translated on the client-side, but has a default server-side value if a vanilla client connects.
-
Migrate all user-facing strings into the src/main/resources/.../lang/en_us.json
file for translations -
Build a way to select the default language on the server-side -
Choose & set up a "translation crowdsourcing" platform (there are many used by OSS projects) for other users to submit translations -
Limitation: The scoreboard currently works with raw text, and cannot be translated on the client. This could be fixed with some effort, but requires tearing apart some of its current behavior.- This is done! At least on 1.20.4+, where scoreboard entries support text display names.