Internationalization with MongoDB and MongoKit
An example on how to store internationalized data with MongoDB and MongoKit:
>> raw_blog_post
{u'body': [{u'lang': u'fr', u'value': u'Comment allez-vous ?'},
{u'lang': u'en', u'value': u'How are you ?'}],
u'_id': u'bp1',
u'author': u'me',
u'title': [{u'lang': u'fr', u'value': u'Salut'},
{u'lang': u'en', u'value': u'Hello'}]
}
I’ve been using a very similar solution for storing InfoQ content translations in JCR/Jackrabbit.
via: http://bytebucket.org/namlook/mongokit/wiki/html/i18n.html