rnestler / reboot-arch-btw

Checks if your ArchLinux needs a reboot due to a kernel update
GNU General Public License v3.0
25 stars 4 forks source link

Translation/internationalization #94

Open emansom opened 1 year ago

emansom commented 1 year ago

Currently reboot-arch-btw has fixed English strings throughout the source code. It'd be stellar if these would be translatable through PO files.

rnestler commented 1 year ago

It'd be stellar if these would be translatable through PO files.

Does it necessarily need to be PO files or would something like .yml files also work? A quick search for i18n solutions for Rust turned up https://crates.io/crates/rust-i18n.

emansom commented 1 year ago

Does it necessarily need to be PO files or would something like .yml files also work? A quick search for i18n solutions for Rust turned up https://crates.io/crates/rust-i18n.

Given it's more standardized, there's more tooling available. Making it easier for translators that are not developers to contribute.

emansom commented 1 year ago

kellpossible/cargo-i18n could be utilized for localization.