Get language
        If locale contains region, will cut that off. Returns just
        the language code

def get_language(self):
        """
        Get language
        If locale contains region, will cut that off. Returns just
        the language code
        """
        locale = self.get_locale()
        language = locale
        if '_' in locale:
            language = locale[0:locale.index('_')]
        return language