kellpossible / cargo-i18n

A Rust Cargo sub-command and libraries to extract and build localization resources to embed in your application/library
MIT License
121 stars 25 forks source link

Structured serde XML or JSON or similar localization #119

Open kellpossible opened 6 months ago

kellpossible commented 6 months ago

Using some kind of schema definition, allow messages to be extracted from XML or JSON or perhaps any serde supported format, and localized versions to be produced. Probably this could be its own separate binary tool with functionality included in cargo-i18n. This is different to just using these formats to store messages, it is used for localizing preexisting assets which have messages embeded within them.