Skip to content

no plural rule registered for XX #231

@bep

Description

@bep

I got an error report in Hugo:

no plural rule registered for oc

I was pretty sure I had a test for that, and I did.

What I currently do is something like this:

lang := "oc"
tag := language.Make(lang)
if tag == language.Und {
   name = "art-x-" + name
}
_, _ = bundle.ParseMessageFileBytes(b, name)

The above works fine for klingon, but not for oc (which is a valid language code).

I assume this is a data synch issue, but I don't know how to work around it.

/cc @digitalcraftsman

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions