#How to rename this Block/Item with an NBT tag that seems to have given it a name already - 1.20.1

66 messages · Page 1 of 1 (latest)

rapid heart
#

I am currently trying to translate a chinese modpack and sadly they have baked in alot of Translation stuff into their forked modjar, and seemingly also this part in the picture.

all of the dimension markers blocks are in chinese and have this sort of tag if i use /kubejs hand
Item.of('gtceu:overworld_marker', "{display:{Name:'{"translate":"主世界"}'}}")

so i am wondering how i can override that or give it a new display name that works in this JEI/EMI tab

red phoenixBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

ebon wraith
#
{
  "主世界": "overworld"
}
rapid heart
rapid heart
#

okay that be amazing and simple

ebon wraith
#

But a better approach is to contact the modpack author and change the translate key to the correct format.

rapid heart
#

they are in no discord i am in, so only way to contact them is via github and they seemingly ignored original GT devs advice/comments and just started to make their own fork and do whatever they want, so my hope in resolving that on their side is low, they clearly can speak/write english but just chose not to make it translateable

ebon wraith
#

What is the name of this modpack?

rapid heart
#

GTL or rather GT Leisure

#

want the chinese modpack site link and/or github ?

ebon wraith
#

I will try to contact the author

rapid heart
#

they baked in alot of stuff in the Gregtech Modern jar they shouldnt have, the devs told me they could have just made an addon jar

#

doesnt seem like it worked

#

@ebon wraith any other ideas ?

ebon wraith
#

I've mentioned this in this github issue.

rapid heart
#

thanks, lets see if they even respond

#

but again your solution didnt work AShmm

ebon wraith
#

Or you can override this recipe to achieve translation

rapid heart
#

its not a recipe, its an item that will be displayed by gregtech in that slot for dimensions

#

but its renamed via the Gregtech mod jar they modified

#

via nbt tag

ebon wraith
rapid heart
#

yea exactly my reaction aswell.. its just one among many things they did

serene patio
#

That's just stupid

ebon wraith
#

I think all we can do now is wait for the author’s reaction.

serene patio
#

All you need is a language file

#

They clearly couldn't be bothered to make it accessible to others

rapid heart
#

yea its likely not puplic

serene patio
#

Maybe they have something against the original gregtech devs?

ebon wraith
rapid heart
#

i have no idea, but they do seem to be rather just do stuff however they please

#

yes and i made a en_us file myself

ebon wraith
#

wait a min, they already have a ready-made key but don't use it

#

So stupid

serene patio
#

I just saw that too...

#

It's like they don't want English people to be able to translate it or something

rapid heart
#

or play it, maybe

ebon wraith
#

This modpack doesn't seem to have plans to make it multilingual

rapid heart
#

yea i assume as much aswell 😄

#

its a weird mix of they have the skills, but still choose to not do it properly

serene patio
#

Why are you trying to translate it, do you just want to play it properly?

rapid heart
#

i want to play it properly with some other ppl yea

#

and in general i think its best to enable more ppl access to work that has alot of effort put into, this pack implemented alot of GT endgame stuff from GTNH Twist

#

and that is rly rly rare for GT Modern

#

lemme try to adjust the chinese lang file, if that overrides the english one for this block/item in perticular

serene patio
#

I doubt it

#

The nbt overrides all

rapid heart
#

sems so yea

#

and there is no way to tell KubeJS to specifically rename an item with a specific nbt tag ?

serene patio
#

You can't modify that in kjs

#

The nbt

#

If its default nbt

#

I don't you'll be able to make that properly show

#

Doubt

rapid heart
#

thats a bummer, pretty much requires to have advanced tooltips on to even know what it is supposed to be, which isnt the worst but ya know. just one of the many things i had to sift through

#

went for this solution instead now

#

Shruge oh well

#

but still thanks both of you