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

Enable translation of SimpleSchema custom validation messages #759

Closed
jykae opened this issue Jan 12, 2016 · 1 comment
Closed

Enable translation of SimpleSchema custom validation messages #759

jykae opened this issue Jan 12, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@jykae
Copy link
Contributor

jykae commented Jan 12, 2016

We are using SimpleSchema custom validation messages on our user profile form, and possibly other form(s). When trying to add i18n capabilities to the text strings, we get a server side error:

TypeError: Object #<Object> has no method 'en'

Related issues

@jykae jykae added the bug label Jan 12, 2016
@brylie brylie changed the title TAPi18n loading order causes problems on the server side code. Enable translation of SimpleSchema custom validation messages Jan 15, 2016
@brylie brylie self-assigned this Jan 15, 2016
@brylie brylie added this to the Sprint 21 milestone Jan 19, 2016
@brylie brylie closed this as completed Jan 19, 2016
@brylie
Copy link
Contributor

brylie commented Jan 19, 2016

Fixed with PR #760 (issue #472) by moving localization files into /lib/i18n to control load order.

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

No branches or pull requests

2 participants