#5668 closed enhancement (no action required)
Use __() to translate page titles
Reported by: | Alvaro_SG | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | minor | Version: | |
Component: | I18N | Keywords: | |
Cc: |
Description
Hi, some string are not translated into others languages. For example, in bp-activity-screens.php at line 384:
'post_title' => bp_get_directory_title( 'activity' ),
The result is a page named "Sitewide Activity".
Is better to use:
'post_title' => __('Sitewide Activity', 'buddypress'),
at least the page is named "Actividad de todo el sitio".
Thanks.
Change History (2)
Note: See
TracTickets for help on using
tickets.
This is because your WordPress page is called Sitewide Activity. Dashboard > Pages.
On a new installation, these pages will be generated with titles that are properly translated. See https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-activity/bp-activity-loader.php#L103, line 109. It's possible that, at the time of installation, you were using an out-of-date Spanish translation.