How to localize datepickerbridge for AS?

11 views
Skip to first unread message

Tin Vo

unread,
Jan 7, 2012, 10:04:55 PM1/7/12
to ActiveScaffold : Ruby on Rails plugin
Hello,

I'm having problems trying to localize the datepickerbridge in AS.
When I change the locale, the translation (eg. labels, column
displays, etc..) are localized properly; however, when I click on
Search (using field search), the DatePickerBridge for date fields
always use English locale.

Is there something I'm missing?

Atastor

unread,
Jan 9, 2012, 12:05:32 PM1/9/12
to actives...@googlegroups.com
I guess its english, because there is no localization for your language. Check the following issue on github: 


You should be able to derive the necessary steps from the (minimal) change contained in this pull request.

Regards
Michael

Tin Vo

unread,
Jan 9, 2012, 12:49:11 PM1/9/12
to actives...@googlegroups.com
I ended up using <%= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.8/i18n/jquery.ui.datepicker-#{I18n.locale}.js" %> after <%= active_scaffold_includes %>


--
You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group.
To view this discussion on the web visit https://groups.google.com/d/msg/activescaffold/-/YzqqxtXdyawJ.

To post to this group, send email to actives...@googlegroups.com.
To unsubscribe from this group, send email to activescaffol...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.

Reply all
Reply to author
Forward
0 new messages