MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.tm.data/TranslationMemoryEntryModel

TranslationMemoryEntryModel

[jvm]
data class TranslationMemoryEntryModel(val id: Int = 0, val identifier: String = "", val origin: String = "", val sourceText: String = "", val sourceLang: String = "", val targetText: String = "", val targetLang: String = "")

Translation memory entry model.

Constructors

   
TranslationMemoryEntryModel [jvm]
constructor(id: Int = 0, identifier: String = "", origin: String = "", sourceText: String = "", sourceLang: String = "", targetText: String = "", targetLang: String = "")
Create TranslationMemoryEntryModel

Properties

Name Summary
id [jvm]
val id: Int = 0
entry ID
identifier [jvm]
val identifier: String
message key or translation unit ID (tuid)
origin [jvm]
val origin: String
name of the source or project the message comes from
sourceLang [jvm]
val sourceLang: String
source language code
sourceText [jvm]
val sourceText: String
source text
targetLang [jvm]
val targetLang: String
target language code
targetText [jvm]
val targetText: String
target text