MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.project.usecase/OpenProjectUseCase/invoke

invoke

[jvm]
abstract suspend operator fun invoke(path: String): ProjectModel?

Open a project saved on a given path as a TMX file. Opening implies that all the languages and segments of that specific project will be loaded in the application DB for subsequent queries.

Return

ProjectModel or null if there was an error

Parameters

jvm

   
path Path of the TMX file