You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, there’s no API in Endstone for handling multilingual messages.
Describe the solution you'd like
Introduce Endstone's language files for translation.
Use BDS language file as a fallback if the key does not start with endstone..
Translatable messages should be sent as-is to the client, allowing resource packs to handle their own translations, except for keys starting with endstone. which should be translated server-side.
Allow retrieval of translated messages using server.getLanguage().translate(key, params).
Describe alternatives you've considered
N/A
Additional context
This API would follow a design similar to PocketMine-MP and Nukkit.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 15 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
Is your feature request related to a problem? Please describe.
Currently, there’s no API in Endstone for handling multilingual messages.
Describe the solution you'd like
endstone.
.endstone.
which should be translated server-side.server.getLanguage().translate(key, params)
.Describe alternatives you've considered
N/A
Additional context
This API would follow a design similar to PocketMine-MP and Nukkit.
The text was updated successfully, but these errors were encountered: