WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#5537 closed defect (bug) (fixed)

users rol don't translate in wp-admin/users.php

Reported by: rnt Owned by: ryan
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.5
Component: Administration Keywords: user rol translate
Focuses: Cc:
PR Number:

Description

In wp-admin/users.php the "select" of the users rol and the title of
the user group in the same role, it is not translated.

Attach files .patch to fix that.

Attachments (2)

wp-admin.includes.template.php.patch (698 bytes) - added by rnt 12 years ago.
wp-admin/includes/template.php patch
wp-admin.users.php.patch (540 bytes) - added by rnt 12 years ago.
wp-admin/users.php patch

Download all attachments as: .zip

Change History (8)

@rnt
12 years ago

wp-admin/includes/template.php patch

@rnt
12 years ago

wp-admin/users.php patch

#1 @ryan
12 years ago

Variables cannot be translated. Only literal strings can be translated. Roles are saved in the DB and are translated at installation time.

#2 @rnt
12 years ago

In that case there should be a warning at the installation time or the option of changing that value .

I installed my blog long time ago, and then not put the language file. With this, I never have a blog entirely translated.

#3 @lloydbudd
12 years ago

  • Milestone changed from 2.4 to 2.5

#4 @ryan
12 years ago

  • Owner changed from anonymous to ryan

#5 @ryan
12 years ago

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

(In [6916]) Don't save translated role names to the DB. Instead, translate them on the fly. fixes #3442 #5537

#6 @ryan
12 years ago

  • Milestone changed from 2.6 to 2.5
Note: See TracTickets for help on using tickets.