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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sergey Kan’s picture

profiles/commons/modules/commons/commons_groups/modules/commons_groups_pages/commons_groups_pages.panelizer.inc
Changing the line from:

'override_title_text' => 'Recent content',

to

'override_title_text' => t('Recent content'),
Devin Carlson’s picture

Version: 7.x-3.4 » 7.x-3.x-dev
Status: Active » Needs review
FileSize
703 bytes

@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.

mgregoire83’s picture

@Devin Carlson

Hi,
Where can I download the i18n Panels sandbox with a view to install it !
Regards

guruslot’s picture

After enabling i18n Panels the translation of "Recent content" is still unavailable even with t() or without it.

Any suggestions?

Devin Carlson’s picture

Status: Needs review » Closed (duplicate)
Related issues: +#2145229: Add i18n Panels module

Closing 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).