Open rom1504 opened 9 years ago
Would be very interesting to see this implemented.
Really ? How is that useful ? To give the bot commands in an other language ?
An easy way to find all these Internationalization files is :
grep -R "language.code=" ~/.minecraft/assets/
s/internalization/internationalization/g
:wink:
or short: i18n
@Gjum heh, I don't know what you are talking about :P
Plan: have a i18nName field in blocks.json, items.json instead of displayName and a lang.json with the i18nName -> displayName mapping, and let the wrappers to the link when needed.
it's in assets/minecraft/lang https://github.com/PrismarineJS/minecraft-jar-extractor/blob/master/downloadDecompile.js can be used to download the client and get that file. (well mainly the downloading an unzipping part)
Mojang provides Internationalization files in the client jar (for the display names) It might be interesting in the long term to provide that kind of data somehow.
Example in english http://hastebin.com/tisalowasa