Is there a script I can use to change the in-game language? I have a UI that hides the chat buttons, but it's all done through lua and I can't figure out how to undo it.

So I figure the next best thing is to see if I can use a script. For example, the horde's default language is Orcish, but each race has their own language they can use. I'd like to change the language of the stuff I type from Orcish to Thalassian since I play a Blood Elf. Is this possible through a script?