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

23w03a/1.19.4: Translation fallback field #863

Closed
ejm opened this issue Jan 18, 2023 · 1 comment
Closed

23w03a/1.19.4: Translation fallback field #863

ejm opened this issue Jan 18, 2023 · 1 comment

Comments

@ejm
Copy link

ejm commented Jan 18, 2023

In the newest Snapshot, Mojang introduced a change to translate components, a fallback field which contains a string to be used in the event that a translation key can't be found.

Full information can be found here:

Added an optional fallback field to translate text components.

  • The new field is a string that will be used in place of translation if it is missing
  • If fallback is missing, the old behavior (i.e. using the key itself as the translation) is preserved

Thanks!

@ejm ejm changed the title 22w03a/1.19.4: Translation fallback field 23w03a/1.19.4: Translation fallback field Jan 18, 2023
@kezz kezz added the area: api label Jan 18, 2023
@kezz kezz added this to the 4.13.0 milestone Jan 18, 2023
zml2008 added a commit that referenced this issue Mar 14, 2023
feat(api): add support for translatable component fallbacks (#863)
@zml2008
Copy link
Member

zml2008 commented Mar 14, 2023

Fixed in #868

@zml2008 zml2008 closed this as completed Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

4 participants