Skip to content

Refactor(i18n): i18n-related APIs#17

Open
Q2297045667 wants to merge 3 commits into
Pumpkin-MC:masterfrom
Q2297045667:i18n
Open

Refactor(i18n): i18n-related APIs#17
Q2297045667 wants to merge 3 commits into
Pumpkin-MC:masterfrom
Q2297045667:i18n

Conversation

@Q2297045667

Copy link
Copy Markdown

PR:2323

@Q2297045667 Q2297045667 changed the title efactor(i18n): i18n-related APIs refactor(i18n): i18n-related APIs Jul 12, 2026
Replace the removed `load-translations` interface with a new `format` function that supports positional argument substitution. Expose the server's global locale via `get-server-locale` and rename player locale retrieval to `get-player-locale`. Update internal Rust code to use the new formatting function and make locale conversion function publicly accessible.
Also fix indentation in i18n.wit.
@Q2297045667 Q2297045667 changed the title refactor(i18n): i18n-related APIs Refactor(i18n): i18n-related APIs Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant