Skip to content

i18n translation file is missing "Plural-Forms" field #108

Description

@pduchesne

The Plural-Forms field is expected in the i18n metadata (cf ckan i18n lib : https://github.com/ckan/ckan/blob/67376681491f2808fae56920f757c4b594b58284/ckan/lib/i18n.py#L339)

The translation file in showcase is missing that field, causing the server to crash with a KeyError .

This can go unnoticed if the showcase plugin is not the first one in the order of declared plugins during the call to _build_js_translation (codeline above).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions