The code for Language module that uses the Languages Repo.
I'll fix any issue listed in here.
This is an example on how you can use this addon in your addon.
First you must instasitate the language like this:
MYLANG = LANG:Init('mylanguage', 'myaddon', 'myteam',function() -- this function can be used for calling any hooks that you might need when you've downloaded the needed language files
hook.Run('mylanguagehook')
end)
Then you can use this for retriving the language phrases:
print(MYLANG:GetPhrase('myphrase', 'fallback')) -- The fallback is used if the server has a outdated language version, which shouldn't happen.