#localization #translation #discord-bot #language

hydrogen-i18n

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

5 stable releases

2.2.0 Jun 10, 2024
2.1.0 May 12, 2024
2.0.0 Jan 17, 2024
1.0.1 Jul 28, 2023

#73 in Internationalization (i18n)

Download history 167/week @ 2024-06-08 14/week @ 2024-06-15 11/week @ 2024-06-29 29/week @ 2024-07-27 64/week @ 2024-09-21

64 downloads per month

MIT license

55KB
941 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 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.

Dependencies

~0.5–8.5MB
~77K SLoC