At present (4.0.0 c3da497), I need to do the following to explicitly set localization in a field:
x = Mymodel.new
x.attributes['myfield'] = Hash.new
x.attributes['myfield']['eng'] = 'text string'
x.attributes['myfield']['deu'] = 'zeichenfolge'
As a request for enhancement, I would appreciate we could have something more like:
x = Mymodel.new
x.myfield_translations[:eng] = 'text string'
x.myfield_translations[:deu] = 'zeichenfolge'