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

Add translation ability to most things #27

Merged
merged 5 commits into from
Dec 20, 2024
Merged

Add translation ability to most things #27

merged 5 commits into from
Dec 20, 2024

Conversation

SuperLlama88888
Copy link
Owner

  • Translations can be used for the webpage UI through a JSON file.
  • Regular MCBE resource pack .lang files can be used for in-game translations. Some stuff have to be substituted in by the JS but I've tried to make it as clear as possible...
  • I haven't touched some stuff (including pack manifest material list translation) but most stuff are covered by this. It will be much easier when I make a dedicated in-game UI screen for Holoprint information rather than relying on the pack manifest description.
  • This is a step towards fully doing Localized translation of projects #13.

Will write documentation for adding translations on the GitHub wiki.
Accessing the main page with ?generateEnglishTranslations will download a file of automatically generated translations.
Pack description formation is VERY MESSY. but it works!!!
Translation of material list and in-game controls in pack description is very hard to do because MCBE translation language names are different from JS language names. Currently, not all languages will be generated. I want to put this in another in-game UI screen where we can translate item names in-game instead of having to translate them for all languages during pack generation. BOO MCBE
surely nothing can go wrong...????
@SuperLlama88888 SuperLlama88888 merged commit 1be7fa6 into main Dec 20, 2024
3 checks passed
@SuperLlama88888 SuperLlama88888 deleted the dev branch December 20, 2024 13:26
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