MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.mt.repository.datasource/MachineTranslationDataSource/import

import

[jvm]
abstract suspend fun import(file: File, key: String? = null, private: Boolean = false, name: String? = null, subject: String? = null)

Import a TMX file to the remote provider.

Parameters

jvm

   
file File of the TM
key API key (optional)
private if set to true the segments will not be visible to other users of the remote provider (implies the key parameter is passed)
name Name of the TM (optional)
subject Subject of the TM (optional)