WordPress.org

Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 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:

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 13 years ago.
wp-admin/includes/template.php patch
wp-admin.users.php.patch (540 bytes) - added by rnt 13 years ago.
wp-admin/users.php patch

Download all attachments as: .zip

Change History (8)

@rnt
13 years ago

wp-admin/includes/template.php patch

@rnt
13 years ago

wp-admin/users.php patch

#1 @ryan
13 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
13 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
13 years ago

  • Milestone changed from 2.4 to 2.5

#4 @ryan
13 years ago

  • Owner changed from anonymous to ryan

#5 @ryan
13 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
13 years ago

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