Get all player's Experience Language

Hey developers! I am currently in the process of making my game and I’m starting to add translations to different languages. However I have a problem. In my game there is a place where the player has to guess a word, Its like the game wordle, however slight differently. The issue is because the guesses before give clues to the next guess, and its a ‘server wide’ typing, its impossible to make this compatible with different languages.

Because of this I want to search every player in the game and if none of them have english as their experience language , I want to make this place unplayable and be replaced with something different . (Its basically impossible for this to be translated in any way which is why I need to replace it)

TL;DR:

So my main question is How can I get this, a person’s experience language:


I have seen solutions to get a current persons CountryRegion with LocalizationService:GetCountryRegionForPlayerAsync() however I would not like to use this if possible as a persons location doesn’t mean they speak the language that’s most spoken there.

Any help is much Appreciated !

2 Likes

Maybe just force english on the main experience, and have seperate places for different languages, that the player can join?

Or just make it so you join a hub-like thing, and you select the language, and you join a place with different people who also selected that language?

1 Like

I mean I could. Issue is that its a game with a party system. Also it makes it complicated if 2 people want to be in the same party but they use a different languages in game (like friends. They might understand 2 languages but rather play the game in their primary language, then a second less understood language). It certainly is an option although I would like it to be in one game if possible.

Couldn’t you use Roblox’s auto localisation feature? Pretty sure that utilises the languages you add when configuring game localisation:

Thats what I have. But what I mentioned above is that in the game there is a english based guessing part. I want to hide it if no one speaks english (because then no one can do it) and replace it with a different language compatible thing .

What part of the game is needing to be translated? If it’s GUI, Roblox already auto translates all of that.

You could probably try creating an invisible text frame and see if the text itself is updated to the translation and try to get that possibly.

Its impossible to be translated is the thing. Its a wordle based guessing game where the response is in english (its a tad different but it has some similar triats). The player has to type a guess and see if its right and its a server-wide guess thing.

Also I have to verify that the word they typed is a valid word on its own. How I do this is only english supported and not many languages supported. (Because I have to send a https request outside roblox as thats how I currently verify)

This is why I want to hide it if no one speaks english. Because it is very english heavy and really can’t be translated into gui’s

I guess you might have to create a in-game setting for the player to choose which language.

1 Like

I’m bumping this as I would like to see if there is a solution that doesn’t include a needed user input / setting / different places