The 'real' how to create a multilingual panels page

Events happening in the community are now at Drupal community events on www.drupal.org.
akmalfikri's picture

I have searched far and wide to make this happen. But not even one is reliable. Right now the only way that I can do this is create two pages, one in English and another one in Malay. Had to use translation paths to connect these two pages.

Any better idea or way to do this instead of creating two different panel page?

Comments

It's still a mess.

lotyrin's picture

Unfortunately the current state of Panels i18n is pretty lacking.

Last I knew:

Panels_node (comes with panels) doesn't play nicely when you're trying to translate panel nodes (this is wontfix because Panelizer exists) so if you have panel-nodes I recommend using Panelizer and Node Clone then associating the clones as translations of one-another so you don't have to do the grunt work of recreating all of your layout and everything.

For overridden values or custom strings, etc (strings within panes, not node-level) there's a sandbox module but it depends on some patches (#1179034 and #1277908) to panels in order to work.

Found another way

akmalfikri's picture
  1. Clone the 'source' language variant of the page.
  2. Rename it into something else, in 2nd language.
  3. Do your changes of the new variant in Contents
  4. Add new selection rules to the 'source' variant - User:language
  5. Select the language.
  6. Repeat step 4 and 5 to the 2nd language variant.
  7. Enjoice.

Apparently this is easier than cloning another whole page.

NOTE : You still need to clone the page (instead of variants) if you are planning to do the localized URL.

Related Issue Queue Item?

mgifford's picture

There must be a related issue queue item for this https://drupal.org/project/issues/search/panels?text=i18n&participant=&version[]=7.x

That's generally where problems like this are solved. Also, I'm assuming this is D7.

Internationalization

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: