Name Description Size
__init__.py 104
parse.py Parse a .po or .pot file into a message resource Messages may include the following metadata: - `translator-comments` - `extracted-comments` - `reference`: `f"{file}:{line}"`, separately for each reference - `obsolete`: `""` - `flag`: separately for each flag - `plural` 3036
serialize.py Serialize a resource as the contents of a .po file. Multi-part identifiers will be joined with `.` between each part. Section identifiers are serialized as message contexts. Comments and metadata on sections is not supported. Yields each entry and empty line separately. Re-parsing a serialized .properties file is not guaranteed to result in the same Resource, as the serialization may lose information about message identifiers. 5166