Access the target language in a studio project

Hi, I am developing a plugin for translators to use, which runs certain validation checks as they confirm segments (bilingual format). Some checks are language specific and so the plugin must know what the target language is, and I was wondering if anyone could tell me what object the target language is held in so that I may access it. Thank you in advance.