Skip to content

A couple things related to translation / multilanguage support#15

Merged
Rickisthe1 merged 2 commits intoRickisthe1:mainfrom
charasyn:multilang-improvements
Mar 3, 2025
Merged

A couple things related to translation / multilanguage support#15
Rickisthe1 merged 2 commits intoRickisthe1:mainfrom
charasyn:multilang-improvements

Conversation

@charasyn
Copy link
Contributor

@charasyn charasyn commented Mar 1, 2025

  • Refactor translation manager so we always use a global (for consistency)
  • Change GuiTranslationStringManager from a derived type to a helper, and take the global manager as a parameter
  • Move language file so we can use ISO 639-1 country codes to open the relevant file
  • Allow setting language from CLI
  • Allow "aliases" for languages (ex. 日本語 has aliases Japanese, ja, jp)

charasyn added 2 commits March 1, 2025 15:38
- Refactor translation manager so we always use a global (for consistency)
- Change GuiTranslationStringManager from a derived type to a helper, and take the global manager as a parameter
- Move language file so we can use ISO 639-1 country codes to open the relevant file
- Allow setting language from CLI
- Allow "aliases" for languages (ex. 日本語 has aliases Japanese, ja, jp)
@Rickisthe1 Rickisthe1 merged commit ba51951 into Rickisthe1:main Mar 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants