Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pduchesne opened this issue Apr 29, 2021 · 0 comments
Open

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

pduchesne opened this issue Apr 29, 2021 · 0 comments

Comments

@pduchesne
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant