MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.project.persistence.dao/SegmentDao/create

create

[jvm]
abstract suspend fun create(model: SegmentModel, languageId: Int): Int

Create a new segment.

Return

ID of the newly created segment

Parameters

jvm

   
model segment to creeate
languageId Language ID