Run it
Copy the script and paste it into your executor.
-- [ ======== Define your texts in ENGLISH in the table below ======== ] --
local Translations = {
Apple = "Apple",
Hi = "Hey Guys!",
Test = "This is a test XD",
Credits = "Created by Termux_404, Open source :D"
}
-- [ ======== Source (no changes needed) ======== ] --
local cloneref = cloneref or function(o) return o end
local HttpService = cloneref(game:GetService("HttpService"))
local Players = (:())
(()
Players.LocalPlayer.LocaleId:() ~=
lang = Players.LocalPlayer.LocaleId:(, )
completed, keys, texts, total = , {}, {},
k, v (Translations)
total +=
keys[total], texts[total] = k, v
(i)
text = texts[i]
text
.(()
ok, res = (()
:(
.. lang .. .. HttpService:(text)
)
)
ok res
data = HttpService:(res)
translated =
data data[]
_, part (data[])
translated ..= part[]
translated ~=
Translations[keys[i]] = translated:()
completed +=
)
i = , total
(i)
.() completed >= total
)
(Translations.Apple)
(Translations.Hi)
(Translations.Test)
(Translations.Credits)Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: translate.googleapis.com.
======================= 馃寪 Universal script translator 馃寪 Hello script devs! :D Today I'm sharing my universal automatic script translation code. I use it in all my major projects, and today I decided to make it public so that everyone can use it too. This code detects the player's language and automatically translates the text in a table. All you need to do is set your texts to ENGLISH in the "Translations" table. After that, simply use it in all text definitions in your script.

Universal