game_locale
game_localeManage game locale at runtime: set or get the current locale, and translate string keys into the active language.
Instructions
Set/get locale and translate strings at runtime
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Translation key (for translate) | |
| action | Yes | Action: get, set, translate | |
| locale | No | Locale code (e.g. en, es, fr) |