#Lang override doesn't work

21 messages · Page 1 of 1 (latest)

snow vault
#

Why this code doesn't work? I tried to modify EE lang name but... (There is possibility to obtain the lang key?)

ClientEvents.lang('en_us', event => {
  event.add('fluid.emendatusenigmatica.iron', 'Molten Iron') // YES
  event.add('block.emendatusenigmatica.iron', 'Molten Iron') // NO
  event.add('item.emendatusenigmatica.iron_bucket', 'Molten Iron Bucket') // NO
}
terse gulchBOT
#

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

dense bluff
#

ask the mod dev would be a start, they can probably tell you how the lang keys are formatted

snow vault
#

I've already seen what the keys are, because EE generates files with everything.

zinc kite
snow vault
#

Ok, I'll try. Thanks.

zinc kite
#

kk

snow vault
#

There is possibility to obtain key lang ingame?

zinc kite
#

you mean to reload the script?

#

try doing /kubejs reload client_scripts and f3+t

snow vault
zinc kite
#

oh

#

dont think so

#

for this you can go into the mod's assets lang folder and see what they're called

#

though items are usually item.<modname>.<itemid>

#

unless they got something weird going on

snow vault
zinc kite
#

dont we all

wheat tapir
#

You can't modify EE lang because it doesn't generate lang keys for datagen items / fluids / blocks / gasses etc

#

It's done mod-side, so you can only edit the template names

snow vault
#

Ah ok.