Custom-Main-Menu
Custom-Main-Menu copied to clipboard
localization, can it be done?
I see there are localization entries for common minecraft elements, however, It doesn't feel like that facility is open for custom localization.
If it is possible, how should it be done,
A small example of what that code would look like in the json and where the lang file should be found would be good.
for example here's the one from minecraft
"multiplayer":
{
"text" : "menu.multiplayer",
"posX" : 5,
"posY" : 25,
"width" : 110,
"height" : 20,
"alignment":"top_left",
"action" :
{
"type" : "openGui",
"gui" : "multiplayer"
}
},
and here's the one I tried with the lang file buried in
"credits":
{
"text" : "svetdraku:menu.credits",
"posX" : 61,
"posY" : 65,
"width" : 55,
"height" : 20,
"alignment": "top_left",
"action" :
{
"type": "openGui",
"gui": "custom.moreCredits"
}
},
try just menu.credits
i tried that too, but it appears to not want to read my lang file from the resource loader loaded folder either.
and from what I can gather when I do that it is looking for minecraft:menu.credits and the internal minecraft localzation not having menu.credits so fail.