MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.language.repository/LanguageRepository/getByCode

getByCode

[jvm]
abstract suspend fun getByCode(code: String, projectId: Int): LanguageModel?

Get a language by its code.

Return

LanguageModel or null if no such language exists

Parameters

jvm

   
code Language code (two letters ISO 693-1 code)
projectId Project ID