MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.language.repository/LanguageNameRepository

LanguageNameRepository

[jvm]
interface LanguageNameRepository

Contract for the language name repository.

Functions

Name Summary
getName [jvm]
abstract fun getName(code: String): String
Get a user-friendly name for the language based on its ISO code (ISO 693-1 standard). This returns a value only for the supported languages (see LanguageRepository.getDefaultLanguages.