MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.language.persistence.dao/LanguageDao/getByCode

getByCode

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

Get a language by code within a given project.

Return

LanguageModel or null if no such language exists

Parameters

jvm

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