Heya! I was playing around with localization service and am trying to create translations using scripts.

https://doy2mn9upadnk.cloudfront.net/uploads/default/original/4X/3/f/6/3f6a7f47d535c18f65d5716d7c5bc85dbada68d2.png (https://developer.roblox.com/en-us/articles/utilizing-localization-apis)

However when I am doing this it is not actually adding them to the portal, the script is on the client side.

local LocalizationService = game:GetService("LocalizationService")

local translator = LocalizationService:GetTranslatorForPlayerAsync(game.Players.LocalPlayer)

function game.ReplicatedStorage.Events.TranslateText.OnInvoke(text)
	if not string.find(translator.LocaleId,"en") then
		local trans = translator:Translate(game, text)
		if trans ~= nil then
			return text
		else
			return trans
		end
	else
		return text
	end
end