Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internationalization ? #17

Open
rom1504 opened this issue Apr 29, 2015 · 8 comments
Open

Internationalization ? #17

rom1504 opened this issue Apr 29, 2015 · 8 comments

Comments

@rom1504
Copy link
Member

rom1504 commented Apr 29, 2015

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

01:13 < roblabla> > you need to open 1.8.json
01:13 < roblabla> find the asset you want (probably minecraft/lang/en_GB.json
01:13 < roblabla> and see the associated hash
01:13 < roblabla> for me it's 03f31164d234f10a3230611656332f1756e570a9
01:13 < roblabla> then it's in assets/bojects/03/03f31164d234f10a3230611656332f1756e570a9
01:13 < roblabla> something like that
01:13 < roblabla> 1.8.json is inside .minecraft/assets/index

@AlexKvazos
Copy link

Would be very interesting to see this implemented.

@rom1504
Copy link
Member Author

rom1504 commented Apr 30, 2015

Really ?
How is that useful ? To give the bot commands in an other language ?

@rom1504
Copy link
Member Author

rom1504 commented May 1, 2015

An easy way to find all these Internationalization files is :

grep -R "language.code=" ~/.minecraft/assets/

@Gjum
Copy link
Member

Gjum commented May 7, 2015

s/internalization/internationalization/g 😉
or short: i18n

@rom1504 rom1504 changed the title Internalization ? Internationalization ? May 7, 2015
@rom1504
Copy link
Member Author

rom1504 commented May 7, 2015

@Gjum heh, I don't know what you are talking about :P

@rom1504
Copy link
Member Author

rom1504 commented Oct 9, 2015

@rom1504
Copy link
Member Author

rom1504 commented Oct 21, 2015

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.

@rom1504
Copy link
Member Author

rom1504 commented May 7, 2016

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants