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

Opened 6 years ago

Last modified 5 years ago

Some strings in Users panels are not localizable

Reported by: stephenju Owned by: anonymous
Priority: normal Milestone:
Component: Administration Version: 2.0
Severity: normal Keywords: l10n bg|has-patch
Cc:

Description

The strings "Editor", "Contributor", and "Subscriber" in the "Set the Role of checked users to:" popup in Authors and Users Panel stay in English even after the terms are translated.

Also, when in Admin->Users->Your Profile tab, the page title (shown in browser window title) is still in English.

Attachments

2214.diff Download (345 bytes) - added by davidhouse 6 years ago.

Change History

comment:1   ryan6 years ago

These strings are stored in the DB. They are created during install/upgrade and are localized at that time. If translations for these strings are not available in the .mo at install time, they show up as English. So, you need to have an up-to-date .mo in place before installing or upgrading to get localized strings.

  • Keywords l10n bg|has-patch added

The second point is valid though.

  • Milestone set to 2.0.1

comment:4   ryan6 years ago

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

(In [3412]) i81n fix from David House. fixes #2214

I am not sure I understand this. You mean the 5 strings for the popup menu is stored in the database? I know the role of each member is stored in the database in translated form, but I can't find where the 5 role strings in DB.

Or do you mean the options in the popup is collected from the stored role strings of the current members? Maybe that's why I am seeing only Admin and Author localized because all my members are authors. If this is the case, a brand new install will never see localized role string in the menu other than the word "Admin"?

  • Milestone 2.0.1 deleted

Milestone 2.0.1 deleted

Note: See TracTickets for help on using tickets.