There's already a built-in mechanism to add support for the Node Clone module (see #1205304: Clone the panels display if using node_clone to clone a panelized node).

This patch adds the same support to translated nodes.

Thanks!

CommentFileSizeAuthor
translation-support.patch818 bytesjoelstein
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

merlinofchaos’s picture

I suspect htis is relevant for Drupal 6 only, and not Drupal 7?

joelstein’s picture

I can't speak for the D7 version; I only needed it for a D6 site, and the patch above works for D6.

webcultist’s picture

This would be really nice for D7!

webcultist’s picture

Version: 6.x-1.x-dev » 7.x-2.x-dev
Status: Needs review » Needs work

changed to d7

merlinofchaos’s picture

Version: 7.x-2.x-dev » 6.x-1.x-dev

...have you verified this doesn't work on D7? Because the D7 2.x version of Panelizer should clone naturally. Your comment doesn't state that you've done any due diligence prior to actually changing the issue.

Plus, there's a D6 patch here that changing this to D7 disregards. :/

Putting back to D6.

webcultist’s picture

Sorry Merlin,
yes this is working for D7.

I think, what I was looking for was a way for normal translation and without node clone.
I had not enough sleep on that day, I think -.-

I'm really sorry for that!

Letharion’s picture

Status: Needs work » Needs review
enekoalonso’s picture

What is the status for D7? Is there any way to translate panelized nodes and automatically copy all the panels?

DamienMcKenna’s picture

@enekoalonso: According to merlinofchaos it should already Just Work™ in D7.

seanr’s picture

Issue summary: View changes

In my experience, this actually did not work out of the box in D7. When I translate a node with customized panelizer settings (using core's content translation), the translated node ended up with empty panelizer content (or at least default for that content type which happens to be blank in our case).

DamienMcKenna’s picture

Status: Needs review » Patch (to be ported)

Given the patch is for D7, it needs to be backported for D6.

DamienMcKenna’s picture

Priority: Normal » Minor

Unless someone steps up to provide a patch, it's unlikely this will be worked on. If someone is willing to put time into it and build a patch then I'll happily review it.

Kendall Totten’s picture

I can verify I'm experiencing a similar issue mentioned by seanr in #10, which sounds like he was talking about Drupal 7, as am I.
Custom panes added to the original (English) node via Panelizer show up on the rendered English node. However other languages just inherit the default panelizer settings, regardless of the fact that I have added custom panes to the other language panel as well. http://note.io/19AqzFvhttp://note.io/19ArYM4
It's possible that this issue is related to the workbench module? I do see the revisions listed though, and the latest revision is published so that seems less likely of a culprit.

DamienMcKenna’s picture

Panelizer doesn't support multiple languages, so there may be problems with caching on D7 sites.

Lets continue this in #2070891: Support core Content Translation by cloning the Panelizer display for the new entity.

DamienMcKenna’s picture

Version: 6.x-1.x-dev » 7.x-2.x-dev
Status: Patch (to be ported) » Closed (fixed)

The 6.x-1.x branch is no longer supported, so this will not be resolved.