def METHOD_NAME(outfile, locale: str, header: str = standard_header):
    "Generate the Markdown page for a locale"
    faker = Faker(locale)
    language = language_codes[locale.split("_")[0]]
    fd = FakeData([], locale)
    all_fakers = summarize_all_fakers(fd)
    def output(*args, **kwargs):
        print(*args, **kwargs, file=outfile)
    head_md = header.format(
        locale=locale, current_country=faker.current_country(), language=language
    )
    output(
        head_md,
    )
    output("[TOC]\n")
    output("## Commonly Used\n")
    output_fakers_in_categories(output, [f for f in all_fakers if f.common], "", locale)
    output("## Rarely Used\n")
    output_fakers_in_categories(
        output, [f for f in all_fakers if not f.common], "", locale
    )