Ticket #5537 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 4 years ago

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

Reported by: rnt Owned by: ryan
Priority: normal Milestone: 2.5
Component: Administration Version: 2.5
Severity: normal Keywords: user rol translate
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

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

Change History

rnt4 years ago

wp-admin/includes/template.php patch

rnt4 years ago

wp-admin/users.php patch

comment:1   ryan4 years ago

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

comment:2   rnt4 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.

  • Milestone changed from 2.4 to 2.5

comment:4   ryan4 years ago

  • Owner changed from anonymous to ryan

comment:5   ryan4 years ago

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

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

comment:6   ryan4 years ago

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