My profile page title gets not translated.
$field->page and $value should wrapped with t() or translated
somewhere before in the code...

 17 @@ -67,7 +68,8 @@
 18      $output .= theme('pager', NULL, 20);
 19 
 20      if ($field->type == 'selection' || $field->type == 'list' || $field->type == 'textfield') {
 21 -      $title = strtr(check_plain($field->page), array('%value' => theme('placeholder', $value)));
 22 +      // $title = strtr(check_plain($field->page), array('%value' => theme('placeholder', $value))); // JG
 23 +      $title = strtr(check_plain(t($field->page)), array('%value' => theme('placeholder', t($value))));
 24      }
 25      else {
 26        $title = check_plain($field->page);

Thanx Jens

Comments

kenorb’s picture

Version: 6.17 » 6.x-dev
kenorb’s picture

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.