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

Proper Locale #78

Open
PulseBeat02 opened this issue Jul 9, 2022 · 0 comments
Open

Proper Locale #78

PulseBeat02 opened this issue Jul 9, 2022 · 0 comments
Assignees
Labels
Enhancement Request for a new feature, or to change an existing one.

Comments

@PulseBeat02
Copy link

PulseBeat02 commented Jul 9, 2022

As messaging becomes more complex a proper locale would be useful. Having an interface storing Components (like how LuckPerms does it) that loads it from a language file would be very convenient and help set the large message bloat into the interface instead.

LuckPerms Reference: https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/locale/Message.java

Language File: https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/resources/luckperms_en.properties

(I'll attempt a PR if this is positively received)

@BlitzOffline BlitzOffline added the Enhancement Request for a new feature, or to change an existing one. label Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Request for a new feature, or to change an existing one.
Projects
None yet
Development

No branches or pull requests

2 participants