Internationalization
RPGJS uses the same i18n shape on the server and the client. Modules can ship default translations, and the game can override them withprovideI18n().
Configure Translations
Translate Gameplay Text
The GUI APIs still receive final strings. Translate explicitly withplayer.i18n() or player.t().
Player Locale
save(), load(), and session
restore keep the selected language.
Module Defaults and Game Overrides
Reusable modules can provide default translations:provideI18n(), the game translation
wins. Use namespaces such as quest.* or my-module.* for module keys.
Client Menus
Built-in RPGJS menus userpg.* keys internally, such as rpg.menu.items and
rpg.save.title. Override these keys in the game config to rename or translate
the default menus.