@classmethod
def get_language_code(cls, code, language_format=None):
    """Do any possible formatting needed for language code."""
    if not language_format:
        language_format = cls.language_format
    return getattr(cls, 'get_language_{}'.format(language_format))(code)
