2 unstable releases
0.2.0 | Mar 16, 2022 |
---|---|
0.1.0 | Mar 16, 2022 |
#212 in Internationalization (i18n)
19KB
424 lines
Làithean
A Rust library for rendering dates in scottish gaelic.
Example
use laithean::Date;
use laithean::month::Month;
fn main() {
let date = Date::new(2022, Month::March, 0);
assert_eq!("Dimàirt 1 Màrt 2022", date.scottish_gaelic(None));
}
lib.rs
:
A Scottish Gaelic (Gàidhlig) date library.
Language Use
As this is a bi-lingual library, both languages are used in places on the library. All variables, structures, fields are named in English, because this library is meant to be as accessible to as many people as possible. That being said, as much of the documentation as possible will be in both languages.