#1024 closed defect (bug) (fixed)
Unable to translate some strings and some missing label tags
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.0 | Priority: | normal |
Severity: | normal | Version: | 1.0-rc-2 |
Component: | Locale - i18n/l10n | Keywords: | has-patch |
Cc: |
Description
See the path.
Attachments (10)
Change History (21)
#1
@
17 years ago
- Summary changed from Unable to translate user roles in options-wordpress.php to Unable to translate some strings
#2
@
17 years ago
- Summary changed from Unable to translate some strings to Unable to translate some strings and some missing label tags
@
17 years ago
Make the string match with the other ones (one in class.bb-install and other in options-wordpress)
#6
@
17 years ago
The roles are translated in bb-includes/functions.bb-capabilities.php in the function bb_init_roles()
Things like this...
_e( $foo );
... are generally not required and are to be avoided due to their incompatibility with our .pot file creation tools.
#8
@
17 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
I figured out why the roles are not translated. It's because the localisation gets initialised AFTER the BP_Roles, so the gettext functions don't yet work. So the localisation should be initialised earlier (BEFORE BP_Roles) - that fixes the problem.
See the patch.
Adds gettext