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.
| Comment | File | Size | Author |
|---|---|---|---|
| d6-locale-region-names.patch | 1.06 KB | damien tournoud |
Comments
Comment #1
gábor hojtsyHm, system_region_list() already does array_map('t', ...) on the region list, so it should already work? What is going wrong?
Comment #2
damien tournoud commentedHum, ok. So this is not needed, silly me.
We still need #2 and #3, which are covered by http://drupal.org/node/205360