How to Translate Leaderstats

Hello everyone,

I’m working on a game and I want to make it accessible to players from all over the world. Therefore, I would like to translate the leaderstats into different languages.

The issue I’m facing is that I don’t know how to translate the leaderstats. I’ve looked for solutions here, but I couldn’t find anything specific about this topic.

I would appreciate it if someone could help me with this issue. Is there a way to translate the leaderstats in Roblox? If so, how can I do it?

Thank you in advance for your help.

Please note that I’m not asking for someone to write the code for me. I just need guidance on how to approach this issue. I’ve been experimenting with different approaches, but none have been successful so far. Any insights or advice would be greatly appreciated.

Thanks!

Also, I apologize if I have posted this in the wrong category - I couldn’t find a better fit that was relevant to my issue.

Within the Game Settings in the Creator Dashboard, there is a way to translate stuff, you can do it manually or get someone to do the translating for you.

1 Like

I have already tried using the translation feature in the Game Settings to translate my game’s content. While it works for most parts of my game, I am unable to find a way to translate the leaderstats.

You have to do that via a script, search more on localization.

1 Like

You will need to use LocalizationService probably: LocalizationService:GetTranslatorForPlayerAsync()
You’ll need to retreive some sort of Translator object and use that to translate the leaderstats.

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