Apache Sling has an i18n model, which might help as an example: http://incubator.apache.org/sling/site/internationalization-support.html
Regards, Alex On Tue, May 12, 2009 at 2:27 PM, Shaun Barriball <[email protected]> wrote: > Hi all, > > I'm searching around for the best way of modelling multi-language strings in > JCR with Jackrabbit. > > > > Thus far most searches yield > http://mail-archives.apache.org/mod_mbox/jackrabbit-users/200703.mbox/%3C200 > [email protected]%3e and reference to the JSR-283 spec > which I note no longer includes nt:naturalText. Mix:lang is still there. > > > > Initially we were things to use: > > MyStringBundle/ > > [lang-code]/string > > > > e.g. > > Hello/ > > "en"/Hello > > "fr"/Bonjour > > > > Jsr-283 and mix:lang promotes using an attribute to differentiate the nodes. > Presumably this makes it easier for search where you're only interested in > strings of a particular language. Note that we want the parent node to own > the different language versions in our world. > > > > All suggestions welcome. > > Regards, > > Shaun > -- Alexander Klimetschek [email protected]
