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

Fix missing ca.time.formats.short #104

Closed
josepjaume opened this issue Oct 13, 2016 · 3 comments
Closed

Fix missing ca.time.formats.short #104

josepjaume opened this issue Oct 13, 2016 · 3 comments
Labels
type: bug Issues that describe a bug

Comments

@josepjaume
Copy link
Contributor

Some locales seem to be missing time formats, like the Catalan one. In a recent deployment, I had ActionView::Template::Error (translation missing: ca.time.formats.short) in Decidim::System::OrganizationsController#index as HTML.

@josepjaume josepjaume added the type: bug Issues that describe a bug label Oct 13, 2016
@josepjaume
Copy link
Contributor Author

It looks like it works if you use rails-i18n from master :(. One option is to force using the latest master version, but it'd be great to find out the source of the issue.

@oriolgual
Copy link
Contributor

@josepjaume I just realised that rails-i18n isn't required in any engine, so maybe this is the issue.

@oriolgual
Copy link
Contributor

@josepjaume I found the problem, we're overwriting the time.formats scope at some locales file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issues that describe a bug
Projects
None yet
Development

No branches or pull requests

2 participants