#form help

1 messages ยท Page 1 of 1 (latest)

calm stone
#

Dynamic properties

swift owl
#

Any examples? I've been lost in this for hours. I'm new to programming here.

deft jungle
deft jungle
swift owl
#

I will try, if I can't do it, I will share some of the code and help me, I'm stuck

#

I removed things, I will just leave as a parameter to choose which language you prefer

#

I want to do If you choose the English language, it is saved and even if you exit and re-enter the world, the language of the items persists, the language changes well, only I have not managed to make it save, when I return to Upon entering the world it appears that the default settings will be selected

shy fable
swift owl
#

I want to add translations to some descriptions of how the items in my addons work, but I'm using getLore, which I think doesn't accept translate:"itemId" because I tried to add it, and the lore comes out as [Object Object] in the game

ancient lantern
#

Every string represents the line in the game

#

This. Coddy Coddy2 Coddy3 represents [ "Coddy", //line 1 "Coddy2", //line 2 "Coddy3" //line 3 ]

#

and yes it doesn't accept translate but someone said it accepts %% to translate it.

#

No, you can't detect language users who have rn

swift owl
#

Can I send the codes and you tell me what I'm doing wrong?

deft jungle
#

yeah

swift owl
#

In desc.js, I have the translations and the lore, in form, I only have the form, and in configs.js, I'm supposed to have the language selection logic for the lore, the translations are shown but as I mentioned, I don't know how to implement player.setDynamicProperties