MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.formats.po/DefaultExportPoUseCase/invoke

invoke

[jvm]
open suspend operator override fun invoke(segments: List<SegmentModel>, path: String, lang: String)

Serialize the list of segments into the Gettext PO format and save it to a destination.

Parameters

jvm

   
segments Segments to be exported
path Destination path
lang language of the message to include in the PO header