Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

#3120 closed enhancement (fixed)

The word [Home] should have translation option

Reported by: chouf1's profile chouf1 Owned by: djpaul's profile DJPaul
Milestone: 1.5 Priority: minor
Severity: Version: 1.5
Component: Groups Keywords:
Cc:

Description

The word "home" is actually used in four different places.
I suggest this should be differenciated because "home" is the site main page for most people.

The group home page shows by default the group activity. I prefere translate this as "group activity" instead of the default group "home"

bp-groups.php:201

/* Add the "Home" subnav item, as this will always be present */
			bp_core_new_subnav_item( array( 'name' => __( ''''Group Home'''', 'buddypress' ), 'slug' => 'home', 'parent_url' => $group_link, 'parent_slug' => $bp->groups->slug, 'screen_function' => 'groups_screen_group_home', 'position' => 10, 'item_css_id' => 'home' ) );

Change History (3)

#1 @r-a-y
14 years ago

That's exactly what a translation file is for! :)
"Group Home" can be translated.

Are the other "Home" strings translatable or not? Please post the other references if that's not the case.

#2 @DJPaul
14 years ago

  • Milestone changed from Awaiting Review to 1.3
  • Owner set to DJPaul
  • Priority changed from normal to minor
  • Status changed from new to assigned

I'll look at where "home" is used and add a context to the gettext calls. This will make it possible for translation files to change specific instances of these in the core (the theme can always be customised in a child theme).

#3 @djpaul
14 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [4201]) Add gettext context to "home" phrases throughout. Fixes #3120

Note: See TracTickets for help on using tickets.