Localization - yvt/openspades GitHub Wiki
How to set a locale?
Starting from 0.1.0, OpenSpades got a language selection GUI inside the Startup Window.
To change OpenSpades language via graphical interface, it's necessary to [enable the Startup Window] if it hasn't been already, and then go to "General" tab and select the language from there.
It's also possible to change the language by setting core_locale manually.
Available locales
These are the locales available for OpenSpades:
| Identifier | Locale | Since Version |
|---|---|---|
| es_es | Spanish | 0.1.1 |
| de | German | 0.0.12b |
| fr_fr | French (from France) | 0.1.1 |
| ja | Japanese | 0.0.11 |
| ko | Korean | 0.0.12b |
| nl | Dutch | 0.1.1 |
| pt_br | Portuguese (Brazilian) | 0.1.0 |
| pl_pl | Polish (from Poland) | 0.1.0 |
| pt_pt | Portuguese (Portugal) | 0.1.0 |
| ru | Russian | 0.0.11 |
Extra information
Setting an invalid locale to core_locale or leaving it blank will make OpenSpades default to english language.
Known previous bugs
- 0.0.12b: Setting an invalid
core_localewill crash OpenSpades (#468) - 0.0.12b: Translations that could be plural always stay in singular form (#469)
Historical information
Prior to 0.1.0, languages could only be changed by manually setting the core_locale, making it an obscure feature.