
1.2k Views
383 Executions
Universal script translator
Universal Script ๐Uploaded by 6 months ago
Please login to perform these actions:
Description
======================= ๐ 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.









Is it better to make a single request instead of four? For instance, by concatenating them using a separator characterโsay, "#": n = "text1" n2 = "test" s = n .. "#" .. n2 This allows you to bundle the requests; the processing thread splits into sub-threads, making the operation fasterโmuch faster than executing individual requests.
Google translates slowly, and making a large number of requests is very costly; you can use other translation services instead.
@2kr3kn Dude, are you talking to your self?
@breezipsettings Twitter habit