The bug
Change your language and then try to create a new superflat world, when looking under presets you will see that the preset names are still displayed in the previously selected language. Only after a restart of Minecraft those strings display the correct translations.
How to reproduce
Switch to any non en_us language
Go to the superflat world screen, and then open the presets screen
→ Observe that the preset names are in that languageSwitch to en_us language
Go to the superflat world screen, and then open the presets screen
→ Observe that the preset names are still in that languageRestart Minecraft
Go to the superflat world screen, and then open the presets screen
→ Observe that the preset names are in English now
This issue also affected the customized screen, which was removed in 1.13.
Cause
The preset names are added in a static
block within GuiFlatPresets
(and formerly GuiScreenCustomizePresets
), but they are added with the name already translated (I18n.format
is called within the static
block). The name should be translated when the text is rendered, instead.
Linked issues
is duplicated by 2
Attachments
Comments 7
Is this still an issue in the latest snapshot 16w44a? If so please update the affected versions.
This is an automated comment on any open or reopened issue with out-of-date affected versions.
As long as the language is switched (including back to American English), if you go to that screen while in that language, the screen would be locked in that language.
I can confirm this.