globalize2 with xml/json support

Posted by Philipp Bolliger on Stack Overflow See other posts from Stack Overflow or by Philipp Bolliger
Published on 2010-01-21T10:55:08Z Indexed on 2010/03/28 19:43 UTC
Read the original article Hit count: 233

Filed under:
|
|
|

I'm implementing a distributed application, server with rails and mobile clients in objective c (iPhone). To enable internationalization, I use the rails plugin 'globalize2' by joshmh.

However, it turned out that this plugin does not translate attributes when calling to_xml or to_json on an ActiveRecord. Does anyone know of a workaround / patch? Do you have any ideas how to fix this, where to alter globalize2?

Using: Rails 2.3.5 globalize2: commit from 2010-01-11

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about globalize2