Sign in

    moonbit-community/dummy/locales does not have a README file

    DocsLocale

    pub(all) struct DocsLocale {
    name : String
    docs_code : String
    locale : Locale
    } derive(Eq,
    Debug
    )

    Locale name, documentation code, and locale value.

    Locale

    pub(all) enum Locale {
    EN
    FR_FR
    ZH_TW
    ZH_CN
    JA_JP
    AR_SA
    PT_BR
    PT_PT
    DE_DE
    IT_IT
    CY_GB
    NL_NL
    TR_TR
    FA_IR
    } derive(Eq,
    Debug
    )

    Locales available to data generators.

    The root package re-exports these as lowercase constants such as @dummy.en and @dummy.zh_cn.

    Locale::code

    fn Locale::code(self : Locale) -> String

    Return the locale code used in data tables and documentation.

    Locale::display_name

    fn Locale::display_name(self : Locale) -> String

    Return a human-readable locale name for documentation and diagnostics.

    Locale::has_first_wave_data

    fn Locale::has_first_wave_data(self : Locale) -> Bool

    Return true for EN, ZH_CN, and ZH_TW, and false otherwise.

    This marker does not indicate whether a locale has data for a category.

    all

    fn all() -> Array[Locale]

    Return all locales currently exposed by the facade.

    docs_locales

    fn docs_locales() -> Array[DocsLocale]

    Return the 13 documentation locales in their defined order.

    This list excludes TR_TR, which is available through all().

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io