transplate.lua - Languages support [1.0]
Posted: Tue Nov 01, 2022 3:10 pm
transplate.lua
So... This is a library you can use to translate strings! Sounds fun, right? Well, it's mostly a library that you should know how to use, but there is plans to integrate library with other libraries. For now transplate.lua works with littleDialogue by MrDoubleA, you can even change fonts for specific/all style(s)!Library: https://pastebin.com/5xJVabUN (I recommend naming file transplate.lua)
How to use?:
Spoiler: show
Code: Select all
-- worth mentioning that it returns original text if there is no translation
local translated = transplate.getTranslation(text, lang (by default it's current language))
Bug reports, recommendations and etc are welcome! This library was a bit rushed honestly :)
