Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#1645 closed defect (bug) (fixed)

i18n BuddyBar issues

Reported by: slaffik's profile slaFFik Owned by: slaffik's profile slaFFik
Milestone: 1.5 Priority: minor
Severity: Version:
Component: Core Keywords: localization, i18n
Cc:

Description

In BuddyBar under Account menu Groups, Blogs, Friends could not be translated (in Russian). I made needed changes in core files using ngettext().

For "Groups" should be something like this:

bp_core_new_nav_item( array( 'name' => sprintf( __ngettext( 'Groups <span>(%d)</span>', 'Groups <span>(%d)</span>', groups_total_groups_for_user(), 'buddypress' ), groups_total_groups_for_user() ), 'slug' => $bp->groups->slug, 'position' => 70, 'screen_function' => 'groups_screen_my_groups', 'default_subnav_slug' => 'my-groups', 'item_css_id' => $bp->groups->id ) );

And not only this strings. Could you provide me with the link to "How to create patches", please.

PS I will work further.

Change History (3)

#1 @apeatling
15 years ago

http://www.google.com/search?client=safari&rls=en&q=create+a+patch&ie=UTF-8&oe=UTF-8

If you have trouble, create a new file with line numbers, file names and the changes that are needed so we at least have a reference.

#2 @apeatling
15 years ago

  • Milestone changed from 1.2 to 1.2.1

Bumping this.

#3 @DJPaul
15 years ago

  • Component set to Core
  • Resolution set to fixed
  • Status changed from new to closed

Seems to be fixed now

Note: See TracTickets for help on using tickets.