Forums / Setup & design / Translation workflow

Translation workflow

Author Message

Jeroen Sangers

Tuesday 13 June 2006 2:25:32 am

Can anybody tell me how I can set up a translation workflow?

I have a site in three languages, and do not want to publish any object that has not been translated into all languages. Whenever somebody creates a new object, it has to be send automatically to the translators, and only when the three languages have been submitted it should appear on the site.

Ciprian Popovici

Tuesday 13 June 2006 11:28:31 pm

This is just speculation, so take with a grain of salt:

Perhaps it's possible to mangle the editor policies so that they can create drafts but not publish them.

Second, you would do well to use the new ez Publish 3.8.x, which allows for translated versions of an object to exist independently, as opposed to 3.7-, where an object version would mandatory come as a block of all languages (which would make them stop at the default language).

Third, once the editors say they're done, an administrator can come along and publish the drafts. Except I don't recall if you're allowed to pick up someone else's draft...

Kristof Coomans

Tuesday 13 June 2006 11:46:06 pm

Hello

Perhaps it's possible to mangle the editor policies so that they can create drafts but not publish them.

I think this is currently not possible. You always have to grant content/edit rights, and that implies that the user can also publish the object. Also, if the object is not published, no one else (in your case: the translators) can see the draft.

I think the best way to accomplish this is hide the object on publishing. See this topic: http://ez.no/community/forum/developer/hide_on_publishing. In the site access for your editors, hidden objects can be shown and once all translations are complete you can set it to visible.

Interesting topic. Please keep us informed about how you solved this.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Xavier Dutoit

Wednesday 14 June 2006 12:15:03 am

Hi,

I'd suggest to use sections for that.

You create a draft section where only the translators/editors have access to.
You create a new event "setsection".
On the first publish it set the section draft, and it doesn't do anythink until the last translation is published.

I think that's a more versatile option than the hide, for instance you could more easily list of the content in the draft status, and control finer who you want to grant access to the draft.

X+

http://www.sydesy.com

Kristof Coomans

Wednesday 14 June 2006 12:16:33 am

You're right Xavier, that's a better solution :-)

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Jeroen Sangers

Wednesday 14 June 2006 1:05:55 am

Thanks for your tips guys.
One more question: if I understood it right, sections are always linked to a location. So how can I specify the final location when I create objects in the 'Drafts' section?