Hello, I hail from the Spigot community.
As stated in the link above, Lore is intended to be translatable for 1.13. It would be much appreciated if enchantments could be translated as well. Although I'm aware they aren't a "custom" string, this would allow custom items to be entirely translatable.
The resource I manage has been translated to 12 languages via Crowdin at time of writing. However, all users see item lore and enchantments in English, which is not desirable. I feel users of Minecraft: Java Edition would also enjoy being able to completely translate items.
Thanks!
Comments 16
They already are translatable, though? They're on MC's crowdin, and should be automatically translated ingame using Minecraft's language settings. I don't understand what you're asking for.
Note that (unlike the spigot tracker) this tracker mainly isn't intended for feature requests (with some confusing exceptions); there are /r/minecraftsuggestions and /r/TechnicalMCS for that. I'm not going to close this issue just yet because I don't fully understand it, but keep that in mind.
Achievements are part of the strings which are localized.
You could check if achievements have been translated for your language already on Crowdin.
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}"}}
Wouldn't using HideFlags to hide regular enchantments and then using lore fulfil this (after MC-123772 is fixed)?
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).
It's a subreddit which multiple developers frequent and draw inspiration from. There's also https://feedback.minecraft.net/ but I'm unsure if any developers even know that exists.
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.
Please do not mark unreleased versions as affected.
You don't have access to them yet.