The site_map_message variable is not language depended. I'd like to translate this message into all site languages.

Comments

frjo’s picture

Version: master » 5.x-1.x-dev
Category: bug » feature
Status: Active » Fixed

Committed to 5-dev. Found a nifty solution in the captcha module.

Please try it out and report back here.

hass’s picture

Status: Fixed » Needs work

Not yet tested, but please don't forget to delete the variables on uninstall :-)

frjo’s picture

Status: Needs work » Postponed (maintainer needs more info)

Good catch hass! Committed a fix to 5-dev.

hass’s picture

Status: Postponed (maintainer needs more info) » Fixed

î think you mean fixed.

hass’s picture

It's minor, but i would change (code %lang_code) into (%lang_code) within the string '#title' => t('For language %lang_name (code %lang_code)', array('%lang_name' => $lang_name, '%lang_code' => $lang_code)),.

hass’s picture

Status: Fixed » Patch (to be ported)

Aside, this needs porting to D6 - the i18n Drupal :-)

hass’s picture

Version: 5.x-1.x-dev » master
frjo’s picture

Status: Patch (to be ported) » Closed (fixed)