Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On the user page, how can i translate the title of the block "Groups {user} contributes to ?
Comment | File | Size | Author |
---|---|---|---|
#3 | panel-translation-2066869-3.patch | 58.6 KB | Devin Carlson |
#3 | panel-translation-2066869-3-profile-only.patch | 1.21 KB | Devin Carlson |
#3 | panel-translation-2066869-3-features-only.patch | 57.39 KB | Devin Carlson |
#2 | panels_translation.png | 112.4 KB | Devin Carlson |
Comments
Comment #1
ezra-g CreditAttribution: ezra-g commentedAdding this issue to our 3.4 radar.
Comment #2
Devin Carlson CreditAttribution: Devin Carlson commentedIt 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:
Comment #3
Devin Carlson CreditAttribution: Devin Carlson commentedAttached 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.
Comment #4
japerrythe 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.
Comment #5
Devin Carlson CreditAttribution: Devin Carlson commentedRetested #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