Skip to:
Content

bbPress.org

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2099 closed defect (duplicate)

bbp_load_textdomain() Should Loaded Early !

Reported by: alex-ye Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.2.2
Component: Locale - i18n/l10n Keywords:
Cc: alex-ye

Description

Hi Guys , I found this bug in bbPress today , Some texts can't be translated Like ( Post Types Labels ) On my case , I dive more and more into the source and I found this strange order !

add_action( 'bbp_init', 'bbp_register',         0   );
add_action( 'bbp_init', 'bbp_load_textdomain',  10  );
add_action( 'bbp_init', 'bbp_add_rewrite_tags', 20  );
add_action( 'bbp_init', 'bbp_ready',            999 );

As you see translation loaded after bbp_register that so ( Post Types Lablel ... etc ) can't be translated ... In other words the translations loaded after registering post types ..

Testing On :
bbPreess 2.2.3
WordPress 3.5

Change History (4)

#1 @alex-ye
9 years ago

  • Version changed from 2.2.2 to trunk

#2 follow-up: @johnjamesjacoby
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Thanks for the report. This is fixed already in trunk, and will be part of 2.3.

#3 in reply to: ↑ 2 @alex-ye
9 years ago

  • Cc alex-ye added

Replying to johnjamesjacoby:

Thanks for the report. This is fixed already in trunk, and will be part of 2.3.


Thank You :) , bbPress 2.3 will complete after 7 weeks as your roadmap said , This is very long time ! I have to said you should fix the major things in 2.2.3 and publish 2.2.4 update ...

#4 @alex-ye
9 years ago

  • Version changed from trunk to 2.2.2
Note: See TracTickets for help on using tickets.