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

[feature] Add i18n API for Multilingual Support in Endstone #72

Open
wu-vincent opened this issue Oct 7, 2024 · 2 comments
Open

[feature] Add i18n API for Multilingual Support in Endstone #72

wu-vincent opened this issue Oct 7, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request stale

Comments

@wu-vincent
Copy link
Member

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

  1. Introduce Endstone's language files for translation.
  2. Use BDS language file as a fallback if the key does not start with endstone..
  3. 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.
  4. 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.

@wu-vincent wu-vincent added the enhancement New feature or request label Oct 7, 2024
@wu-vincent wu-vincent self-assigned this Oct 7, 2024
@smartcmd
Copy link
Contributor

smartcmd commented Oct 7, 2024

👀

Copy link
Contributor

github-actions bot commented Dec 7, 2024

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.

@github-actions github-actions bot added the stale label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

2 participants