Skip to content

Month and WeekDay translations #630

@FrederickFrance

Description

@FrederickFrance

Hi,

When I created my PR, I was thinking "Oh, I could add translations for months and weekday". But I don't know the correct best practices for this kind of features.

Should I use https://crates.io/crates/lingua and a match like this example ?

fn hello(language: Option<Language>) -> &'static str {
    match language {
        Some(Language::French) => "Bonjour",
        _ => "Hello",
    }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions