21 releases
0.10.0 | Aug 8, 2024 |
---|---|
0.9.0 | Sep 10, 2023 |
0.8.2 | Feb 10, 2022 |
0.8.1 | Nov 29, 2021 |
0.4.1 | May 20, 2020 |
#288 in Internationalization (i18n)
36 downloads per month
Used in cargo-i18n
91KB
1.5K
SLoC
i18n-build
A library for use within the cargo-i18n tool for localizing crates. It has been published to allow its direct use within project build scripts if required.
Optional Features
The i18n-build
crate has the following optional Cargo features:
localize
- Enables the runtime localization of this library using
localize()
function via the i18n-embed crate.
- Enables the runtime localization of this library using
Contributing
Pull-requests are welcome, but for design changes it is preferred that you create a GitHub issue first to discuss it before implementation. You can also contribute to the localization of this library via POEditor - i18n-build or use your favourite po
editor.
To add a new language, you can make a request via a GitHub issue, or submit a pull request adding the new locale to i18n.toml and generating the associated new po files using cargo i18n
.
Authors
Dependencies
~18–27MB
~193K SLoC