Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load translations from mods #447

Open
achimmihca opened this issue Jun 28, 2024 · 0 comments
Open

Load translations from mods #447

achimmihca opened this issue Jun 28, 2024 · 0 comments

Comments

@achimmihca
Copy link
Collaborator

Actual behaviour

Currently, one can add custom profile images, themes, and code from mods.
However, there is no way to add or change translations.

Expected behaviour

Translations in a mod folder should overwrite and extend the translations that ship with the game.

Therefor, one could introduce a new mod subfolder Translations with the current properties files approach, e.g. the file messages_de.properties in this folder could overwrite the German translations.

Implementation

Currently, properties files are loaded from Resources folder in ResourcesFolderPropertiesFileProvider.cs
The logic could be extended to include properties files from mod folders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant