I discovered this a while ago as part of #226587: Default sidebar region labels are confusing (wrong) for RTL languages, and now confirmed that it is a bug.

Theme region names in Drupal 7 are not being translated. In Drupal 6, they were translated in system_region_list(), but that code appears to have been removed (inadvertently) in #511284: Add html_top and move the admin toolbar into html_top.

This patch restores the translation. I confirmed that with a Spanish translation of D7 downloaded from localize.drupal.org, applying this patch makes the region names on admin/structure/block switch from English to Spanish, so it's all working :)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JulienD’s picture

Status: Needs review » Reviewed & tested by the community

I can also reproduce the problem.

I started my installation of Drupal in English and I added an other language (French). Regions names of the admin block interface were still in English.

I tried your patch and it's solved the problem

Tor Arne Thune’s picture

Tested the patch and had the same results as JulienD in #1. See attached screenshots for before and after patch.
Good catch and great improvement!

+1 to RTBC.

dawehner’s picture

Version: 7.x-dev » 8.x-dev
Issue tags: +Needs backport to D7
Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x and 8.x. Thanks!

bfroehle’s picture

Issue tags: -Needs backport to D7

Untagging since it's been committed to 7.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.