@staticmethod
def trc(cls, locale, default):
    """Translate a class.

        :param cls: class
        :param locale: locale string
        :param default: default string if no translation found
        :returns: translated string
        """
    if locale is None:
        locale = 'en_US'
    if cls.Attributes.translations is not None:
        return cls.Attributes.translations.get(locale, default)
    return default
