Using the new resource packs, doing the following won't work:
.minecraft/resourcepacks/NAME/assets/minecraft/lang/NA_ME.lang
but putting that file into the .minecraft/assets folder does work, making it show up in the language list!
The pack in question is selected.
Related issues
is duplicated by
Comments
I have found a way to fix the language packs within the new resource pack system.
First, add your .lang to the appropriate directory in your resource pack.
Then all you need to do is edit the ".mcmeta" file of your resource pack to match something similar to:
And voila! your language will appear in the in-game language scroll pane.
The above comment from the moderator is misleading as it seems to hint that resource packs do not currently support custom languages, which is not true at all. It is also a shame that the development team was vague and generally unhelpful in this issue, which has now been solved.
Kyle is correct. BUT, the pastebin thing is slightly wrong.
Where it says "en_KS" and "en_US", you need to put "en_KS.lang" and ""en_US.lang" respectively.
If you leave the file types off, you can select your custom pack in-game but it will default to 'English'.
If that is the case, that is a bug, also not what i saw here locally when testing.
The entries must be without ".lang"
[edit]:
Also just confirmed; it HAS to be without ".lang";
So to your pack.mcmeta add a section:
"language": {
"xxx_YY": {
"name": "NameOfTheLanguageInTheLocalTongue",
"region": "RegionWhereThisLanguageIsSpoken",
"bidirectional": false
}
}
It's a good idea to make your language code follow the xxx_YY template. (So three-letter-initial prefix, all the made up languages use that).
After this you need to add a file in: "assets/minecraft/lang/xxx_YY.lang"
Now you can select it from the menu. For all the unknown keys it'll fallback on "en_US" (the default).
Uh, actually, i don't know what Tristan is talking about. This works fine without .lang at the end.
Thank you for your response and suggestion Grum. =D
Works as intended, will be changed in the future but you will have to do more than just 'provide the file'.