MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

I18n.get() should handle i18n keys like Component.translatable()

Open magicus opened this issue 2 years ago • 2 comments

Minecraft Development for IntelliJ plugin version

2023.2-1.6.10-418

Description of the feature request

The link between Component.translatable() and the language json file is awesome. It would be great if a similar link could be added to I18n.get(). We use the latter quite a bit in our mod. The signature is basically the same as for translatable() so I guess this would be an easy addition to make.

magicus avatar Sep 20 '23 07:09 magicus

It should be doing that already...

Earthcomputer avatar Sep 23 '23 18:09 Earthcomputer

Screenshot 2023-09-25 at 07 49 47

... but Component.translatable() works as it should. (I could not reasonably screenshot that.)

magicus avatar Sep 25 '23 05:09 magicus