Datastore saving in different languages?

Ok so I own a game and one of the players came to me and asked me for a restore on an item they spent currency on which they didnt receive. I didn’t believe them until i checked their datastore and saw this:

datastorebug

For some reason this russian user who was using translate in game bought the gamepass using an in game currency (which is intentional) but instead of saving their value to true it made a new one but in russian. I googled what it was and it was the EXACT translation of “Super Glue”

I’ve searched the dev forum profusely and couldn’t find any answers as to why this is happening. For reference I am using Profile service

1 Like

Try translating it to english Translator | Documentation - Roblox Creator Hub

1 Like

I just read this actually, didnt know if it would be viable. I’d assume id translate it before storing it so i’ll give it a go

1 Like

Why don’t you just store the id instead.

1 Like

actually good point :skull: although now ill have to make sure players with the old gamepasses will store as the id

1 Like

Wait what? no way Roblox is automatically adding new values in players datastore depending of their translation… this problem may come from your scripts, do you add new values in the datastore if the one you’re looking for doesn’t exist?

1 Like

Well i figured this was an unoptimized way of doing this so ive settled on storing it as ids.

1 Like

Does the user fire a remote event with their local textlabels text?

1 Like

Using names for data is fine, you just have to avoid checking datas with Gui name or text, use local variables or attributes instead… also you should have a table or dictionnary in which there is all type of values the player datastore can contain, so you can check if the new value you want to add is valable, to avoid adding new “fake” values.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.