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.
After a long time spent to find the solution I don't achieve to translate "Recent content" title at the Groups page bottom.
Many thanks for the help !
Regards
Comment | File | Size | Author |
---|---|---|---|
#2 | add-i18n-panels-2139961-2.patch | 703 bytes | Devin Carlson |
capture_commons_groups.jpg | 423.52 KB | mgregoire83 |
Comments
Comment #1
Sergey Kan CreditAttribution: Sergey Kan commentedprofiles/commons/modules/commons/commons_groups/modules/commons_groups_pages/commons_groups_pages.panelizer.inc
Changing the line from:
to
Comment #2
Devin Carlson CreditAttribution: Devin Carlson commented@Sergey Kan you shouldn't use
t()
to translate user-defined strings.In order to translate certain panel elements, you'll need to install the i18n Panels sandbox project, then refresh the Panels text group it adds. Once you've done that, then the strings should appear for translation in the translation interface.
I had hoped that some progress would be made on finalizing panels translation but at this point, it looks like including the i18n Panels sandbox project in Commons is the way to go. The attached patch includes the project in the Commons .make file.
Comment #3
mgregoire83 CreditAttribution: mgregoire83 commented@Devin Carlson
Hi,
Where can I download the i18n Panels sandbox with a view to install it !
Regards
Comment #4
guruslot CreditAttribution: guruslot commentedAfter enabling i18n Panels the translation of "Recent content" is still unavailable even with t() or without it.
Any suggestions?
Comment #5
Devin Carlson CreditAttribution: Devin Carlson commentedClosing as a duplicate of #2145229: Add i18n Panels module which is tagged for the radar and is more up to date.
@mgregoire83 You'll need to use git to clone the i18n_panels repository as it is only a sandbox project.
@guruslot, If the Panels strings aren't showing up, make sure that you've visited your site homepage in each of your alternative languages at least once and that you've refreshed the "Panels" text group (admin/config/regional/translate/i18n_string).