On the user page, how can i translate the title of the block "Groups {user} contributes to ?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ezra-g’s picture

Issue tags: +Commons 7.x-3.4 radar

Adding this issue to our 3.4 radar.

Devin Carlson’s picture

Version: 7.x-3.2 » 7.x-3.x-dev
Status: Active » Postponed
FileSize
112.4 KB

It took a while to track this one down!

The block title currently cannot be translated as Panels does not support translation. An issue, #1179034: Translatable panel titles: Implement i18n_strings, has been filed against Panels to have the module implement i18n_strings, which would integrate the configuration fields (title & e.g. the content field of the custom content pane) of panes into the multi-language system.

I'm marking this postponed on the Panels issue being fixed but, if you need this functionality now, you can get the translation integration working by:

panels_translation.png

Devin Carlson’s picture

Title: How to translate Groups {user} contributes to » Add panels translation support
Category: support » task
Status: Postponed » Needs review
FileSize
57.39 KB
1.21 KB
58.6 KB

Attached is a patch which adds the patches to both the Chaos Tool Suite and Panels and adds the UUIDs to all of the Commons module page managers.

I've attached three patches for easier review: one with the changes to the .make file, one with the changes to the page managers and a combination patch which includes both.

japerry’s picture

Status: Needs review » Needs work

the patches apply cleanly to panels, but when I apply the patches via drush make, it fails to apply.

I believe a re-roll against latest dev will fix. looking into it.

Devin Carlson’s picture

Status: Needs work » Fixed

Retested #3 with a fresh and an existing Commons installation. I didn't run into any issues/errors while installing/upgrading or utilizing the site.

I also reconfirmed that no update hooks or feature reverts are necessary and that the panels + ctools update functions only run for panels which are stored in the database and not code.

Committed #3 to Commons 7.x-3.x.

http://drupalcode.org/project/commons.git/commit/f60330e

Automatically closed -- issue fixed for 2 weeks with no activity.