I've read several threads with similar titles, but none of them answered my question, and I have yet to find a thread that tells me what I wish to know, so I decided to start my own thread on this issue.
I'm working on a mod that uses a different sort of CAPTCHA script (yes, I know... NOT ANOTHER one!), and this script utilizes support for non-English languages. What I'd like to know is if there's a variable within SMF that already "knows" the currently set language code (e.g. 'en' for English, 'de' for German, etc.) so that I may pass it (or a variable based on it, if it's not already in ISO 639-2 format) to the CAPTCHA script. Take a look at this image:
for an example of the script in Spanish, to see what I'm referring to. My script supports English, French, Spanish, German, Dutch and Croatian at this point, and I plan on adding other languages in the future. Having access to a "language variable" of some sort or another would go a long way toward making this mod more successful.