Index: i18nprofile.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/i18n/i18nprofile/i18nprofile.module,v retrieving revision 1.6.2.11 diff -u -r1.6.2.11 i18nprofile.module --- i18nprofile.module 4 Aug 2009 16:01:18 -0000 1.6.2.11 +++ i18nprofile.module 4 Aug 2009 16:22:55 -0000 @@ -191,6 +191,13 @@ if (!empty($form[$field]['#title'])) { $form[$field]['#title'] = tt("profile:field:$field:title", $form[$field]['#title']); } + else { + // Special treating for checboxes. + $field_type = db_result(db_query("SELECT type FROM {profile_fields} WHERE name = '%s'", $field)); + if ($field_type == 'checkbox') { + $form[$field]['#value'] = tt("profile:field:$field:title", $form[$field]['#value']); + } + } if (!empty($form[$field]['#description'])) { $form[$field]['#description'] = tt("profile:field:$field:description", $form[$field]['#description']); }