Forum OpenACS Q&A: Re: RFC: How to internationalize content

Collapse
Posted by Dave Bauer on
It appears LinguaPlone uses seperate objects for each translation with a link between them. That way, if you destroy the link the content is still there.

I think this supports the idea of one cr_item per translation. That way you can publish it seperately frm the orginal, when the translation is complete.

It also makes the code MUCH simpler. There is already support for almost all the features you need to support translation. The CR Tcl API supports creating and manageing items, and doesn't really support publishing more than one revision from a single object. It also supports adding the links between items.

To simplify the proposal we could make each item stand alone, and link them with cr_item_rels instead of cr_child_rels. This could possibly make it simpler. Then you could just query for links to see if a item in another language existed.