No no, I'm aware the Crowdin strings exist. The request is that those strings be made available for access from in-game along the same vein as item Names, so that players and Spigot resources (like mine) can use translated enchantments.
This feels like a good time to bring this up as 18W02A finished changing translation file format from .lang (key=value) to .json ("key": "value") just last month. So in other words, I'm asking for the ability to do something like:
give @s potato{display:{Enchantment:"{\"translate\":\"enchantment.damage.all\",\"italic\":false}"}}
Thanks, but again not what I meant. I'm asking if there's a way to access them in-game. The command example I posted two comments ago was hypothetical - it shouldn't actually work as of now. But I would like it to, hence the request.
I would like to note that, although Pokechu22's idea was a dead end, a method using reflection has been found to get the desired results (link below). Although this satisfies my needs, I would still like to see the functionality requested in this Issue's description added to Minecraft: Java Edition. If this is not the correct place to request this feature, I'd appreciate being pointed to the proper area.
Respectfully, I'm unsure if you're joking. Is that considered the official way to submit requests? Should point out neither the System Dashboard nor the Summary page say that requests aren't welcome here, especially on a part of the code that will soon be revised (see link in issue description).
I see, you've been a great help! Appreciate both you and Pokechu's time.
Anyone reading in the future: the relevant Spigot link was also a dead end as the Minecraft server jar only contains an English lang file (assets\minecraft\lang\en_US.lang). That said, adding translatable enchantments as requested would have made little difference as only English strings can be accessed server-side.
No no, I'm aware the Crowdin strings exist. The request is that those strings be made available for access from in-game along the same vein as item Names, so that players and Spigot resources (like mine) can use translated enchantments.
This feels like a good time to bring this up as 18W02A finished changing translation file format from .lang (key=value) to .json ("key": "value") just last month. So in other words, I'm asking for the ability to do something like:
give @s potato{display:{Enchantment:"{\"translate\":\"enchantment.damage.all\",\"italic\":false}"}}Is there a way to access a translated enchantment string that I'm not aware of? If so I could settle for just adding it to the lore.
Thanks, but again not what I meant. I'm asking if there's a way to access them in-game. The command example I posted two comments ago was hypothetical - it shouldn't actually work as of now. But I would like it to, hence the request.
Interesting! Still requesting similar functionality for items, but I'll try catching the results of tellraw in the meantime.
I would like to note that, although Pokechu22's idea was a dead end, a method using reflection has been found to get the desired results (link below). Although this satisfies my needs, I would still like to see the functionality requested in this Issue's description added to Minecraft: Java Edition. If this is not the correct place to request this feature, I'd appreciate being pointed to the proper area.
Relevant external link is relevant: https://www.spigotmc.org/threads/get-string-returned-from-tellraw.304767/
Respectfully, I'm unsure if you're joking. Is that considered the official way to submit requests? Should point out neither the System Dashboard nor the Summary page say that requests aren't welcome here, especially on a part of the code that will soon be revised (see link in issue description).
Just posting to say I'd also like to see this bug resolved.
I see, you've been a great help! Appreciate both you and Pokechu's time.
Anyone reading in the future: the relevant Spigot link was also a dead end as the Minecraft server jar only contains an English lang file (assets\minecraft\lang\en_US.lang). That said, adding translatable enchantments as requested would have made little difference as only English strings can be accessed server-side.