MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.mt.repository/MachineTranslationRepository/generateKey

generateKey

[jvm]
abstract suspend fun generateKey(provider: MachineTranslationProvider = MachineTranslationProvider.MY_MEMORY, username: String, password: String): String

Generate an API key for a machine translation provider. This is supported only by some providers, e.g. MachineTranslationProvider.MY_MEMORY

Return

a valid API key for queries

Parameters

jvm

   
provider Provider
username Username of the account
password Password of the account