//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.formats.po/ExportPoUseCase/invoke
invoke
[jvm]
abstract suspend operator 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 |