/hydrogen-i18n

Internationalization library in Rust to be used in Discord bots.

Primary LanguageRustMIT LicenseMIT

Nashira Deer // Hydrogen I18n

Translation utilities for applications that need to deal with different languages.

PayPal GitHub Sponsor Crates.io docs.rs

Applications that deal directly with users will need to be prepared to deal with different languages too, so Hydrogen I18n comes with utilities focused on making this task easier, loading and managing single or multiple languages supported by the application in the memory, avoiding unnecessary disk and CPU usage.

Hydrogen I18n is part of Hydrogen Framework, this means that this crate is designed to be used on Discord bots created using serenity and twilight, but is sufficiently generic to be used by any other application that does not use these Discord libraries or even Discord bots.

Donating

Consider donating to make Hydrogen I18n development possible. You can donate through Nashira Deer's PayPal or GitHub Sponsor.

Features

  • serenity: Enables functions that make it easy to use the library in Discord apps and bots built with serenity.
  • tokio: Enables tokio-based builder.
  • simd: Enables simd-json-based parser and use it by default.

Credits

Hydrogen I18n is a Nashira Deer project licensed under the MIT License and licensed under the GNU Lesser General Public License v3 until v1.0.1.