#build-script #gettext #localization #build #locale #script

build i18n-build

Designed 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.

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

#261 in Build Utils

Download history 1/week @ 2024-07-28 100/week @ 2024-08-04 10/week @ 2024-08-11 1/week @ 2024-09-08 11/week @ 2024-09-15 7/week @ 2024-09-22 18/week @ 2024-09-29

1,047 downloads per month
Used in cargo-i18n

MIT license

91KB
1.5K SLoC

i18n-build crates.io badge docs.rs badge license badge github actions badge

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.

Changelog

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.

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
~194K SLoC