Translating region names (part 1)
Damien Tournoud - January 1, 2008 - 18:23
| Project: | Drupal |
| Version: | 6.x-dev |
| Component: | block.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
In the current implementation, region names are not translatable (originally reported by kkaefer in http://groups.drupal.org/node/7843). To change this, we need three things:
- Pass region names from
system_region_list()tot()inblock_admin_display_form()andtemplate_preprocess_block_admin_display_form(). It seems that's the only two places where region names are displayed to the user. - Add the parsing of
region[]tags in themes .info files topotx_find_info_file_strings()inpotx.inc. - Manually add default region names to potx.
The following patch address the first concern.
| Attachment | Size |
|---|---|
| d6-locale-region-names.patch | 1.06 KB |

#1
Hm, system_region_list() already does array_map('t', ...) on the region list, so it should already work? What is going wrong?
#2
Hum, ok. So this is not needed, silly me.
We still need #2 and #3, which are covered by http://drupal.org/node/205360