#language #localization #discord-bot #translation #hydrogen

hydrogen-i18n

Translation utilities for server-side applications that need to deals with different languages on the same time

4 stable releases

new 2.1.0 May 12, 2024
2.0.0 Jan 17, 2024
1.0.1 Jul 28, 2023

#25 in #discord-bot

Download history 5/week @ 2024-02-19 36/week @ 2024-02-26 38/week @ 2024-03-11 51/week @ 2024-04-01 161/week @ 2024-05-06

161 downloads per month

MIT license

36KB
508 lines

Nashira Deer // Hydrogen I18n

Translation utilities for server-side applications that need to deal with different languages at the same time.

PayPal GitHub Sponsor Crates.io docs.rs

Server-side 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 all the 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 async loaders.
  • simd: Use simd-json instead of serde_json.

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.

Dependencies

~0.4–4MB
~77K SLoC