#1024 closed defect (bug) (fixed)
Unable to translate some strings and some missing label tags
| Reported by: | Erko.Risthein | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0 |
| Component: | Locale - i18n/l10n | Version: | 1.0-rc-2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
See the path.
Attachments (10)
Change History (21)
#1
@
18 years ago
- Summary Unable to translate user roles in options-wordpress.php → Unable to translate some strings
#2
@
18 years ago
- Summary Unable to translate some strings → Unable to translate some strings and some missing label tags
@
18 years ago
Make the string match with the other ones (one in class.bb-install and other in options-wordpress)
#6
@
18 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
@
18 years ago
- Resolution fixed
- Status closed → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Adds gettext