MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.language.repository/FlagsRepository/getFlag

getFlag

[jvm]
abstract fun getFlag(code: String): String

Get a Unicode representation of the flag of the language having a given code. This returns a value only for the supported languages (see LanguageRepository.getDefaultLanguages.

Return

an emoji corresponding to the country flag

Parameters

jvm

   
code ISO 693-1 language code