MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.language.data/LanguageModel

LanguageModel

[jvm]
data class LanguageModel(val id: Int = 0, val code: String = "", val name: String = "", val isBase: Boolean = false)

Language model.

Constructors

   
LanguageModel [jvm]
constructor(id: Int = 0, code: String = "", name: String = "", isBase: Boolean = false)
Create LanguageModel

Properties

Name Summary
code [jvm]
val code: String
Language code (two letters ISO 693-1)
id [jvm]
val id: Int = 0
Language ID
isBase [jvm]
val isBase: Boolean = false
indicates this is the source langauge of a project
name [jvm]
val name: String
Language readable name