Skip to content

Support Multiple Languages #114

@Sesu8642

Description

@Sesu8642

The game should support multiple languages. Currently all texts are hardcoded in the code. LibGDX offers the I18NBundle class to retreive translated texts from properties files. See LibGDX documentation.

What needs to be done:

  • move all translatable texts to properties
  • add descriptive comments to each property providing context for translation
  • load the texts via I18NBundle
  • add new setting for the language
  • create auto option (default) that detects the system language automatically
  • modify the skin to include common special characters (can be adjusted later)
  • nice to have: update text language when the setting is changed (alternatively tell the user to restart the game)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions