Expand description
Loss-aware translation catalog conversion, independent of any UI framework.
Ported from the MIT-licensed ProTranslate.Formats library. Runtime translation
lookup belongs to ferroui-protranslate-core; this crate is optional tooling.
Parsers report malformed input as diagnostics rather than panicking. Exports
are deterministic and report metadata or cultures that cannot be represented.
Structs§
- Translation
Catalog - An ordered collection of normalized translations and its source language.
- Translation
Catalog Converter - Stateless conversion entry points matching the source library’s organization.
- Translation
Catalog Entry - A normalized translation. Plurals use
key.categoryand retain the category separately. - Translation
Export Result - Exported text plus diagnostics describing information the target format cannot retain.
- Translation
Format Diagnostic - Translation
Format Options - Translation
Format Result
Enums§
- Translation
File Format - A format supported by the catalog conversion layer.
- Translation
Format Diagnostic Severity
Functions§
- detect_
format - Detect by file name. XLIFF version is read from its root during import.
- export
- import