Interface LocalizedResource

    • Method Detail

      • getTranslation

        ResourceTranslation getTranslation​(String language)
        Description copied from interface: Translatable
        Gets a translation in the specified language about some textual properties of the object. If no such translation exists, then returns the default translation of the object.
        Specified by:
        getTranslation in interface Translatable
        Parameters:
        language - the ISO 631-1 code of a language.
        Returns:
        a translation of the object in the given language. Can be never null.