How can i translate an string from the lenguage of a player to english?

I tried searching some posts in the DevForum but it didn’t work.
I want to translate a string from unknown language to English.

Uhm, sorry if my English is weird, I’m Spanish and i just know the basics!

Nevermind this is not right / not possible right now sadly

1 Like

Does LocalizationService works on Studio?

local LocalizationService = game:GetService("LocalizationService")

local textLabel = script.Parent

local success, translator = pcall(function()
	return LocalizationService:GetTranslatorForLocaleAsync("fr")
end)

if success then
	local result = translator:Translate(textLabel, "Hello World!")
	print("Hello in French: " .. result)
else
	print("GetTranslatorForLocaleAsync failed: " .. translator)
end

image
???

Didn’t Roblox just implement live translations in games you can turn on in game settings now? It’s a pretty cool feature

It’s only in chat by the way.

And for OP (@00iJU4N), someone jsut made this feature request. I thought LocalizationService had a method but I was wrong

1 Like

Yeah I’m assuming then that you’d have to use some sort of API to get this given solution, which is not a fun route to go (IMO – don’t kill me if you love to do that), wish Roblox would implement their system their giving us in chat to the actually use in LocalizationService

1 Like

You can always just find some api online that translates, using HttpService, I tried finding some, it was very difficult.

1 Like

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