Index: modules/comment/comment.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.install,v
retrieving revision 1.49
diff -u -p -r1.49 comment.install
--- modules/comment/comment.install	15 Oct 2009 12:44:34 -0000	1.49
+++ modules/comment/comment.install	16 Oct 2009 00:28:01 -0000
@@ -263,7 +263,14 @@ function comment_schema() {
         'length' => 255,
         'not null' => FALSE,
         'description' => "The comment author's home page address from the comment form, if user is anonymous, and the 'Anonymous users may/must leave their contact information' setting is turned on.",
-      )
+      ),
+      'language' => array(
+        'description' => 'The {languages}.language of this comment.',
+        'type' => 'varchar',
+        'length' => 12,
+        'not null' => TRUE,
+        'default' => '',
+      ),
     ),
     'indexes' => array(
       'comment_status_pid' => array('pid', 'status'),
Index: modules/comment/comment.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v
retrieving revision 1.787
diff -u -p -r1.787 comment.module
--- modules/comment/comment.module	15 Oct 2009 16:18:45 -0000	1.787
+++ modules/comment/comment.module	16 Oct 2009 00:28:01 -0000
@@ -1286,6 +1286,7 @@ function comment_save($comment) {
         'name' => $comment->name,
         'mail' => $comment->mail,
         'homepage' => $comment->homepage,
+        'language' => $comment->language,
       ))
       ->condition('cid', $comment->cid)
       ->execute();
@@ -1365,6 +1366,7 @@ function comment_save($comment) {
         'name' => $comment->name,
         'mail' => $comment->mail,
         'homepage' => $comment->homepage,
+        'language' => $comment->language,
       ))
       ->execute();
 
@@ -1638,7 +1640,7 @@ function comment_get_display_page($cid, 
  * @see comment_form_submit()
  */
 function comment_form($form, &$form_state, $comment) {
-  global $user;
+  global $user, $language;
 
   $op = isset($_POST['op']) ? $_POST['op'] : '';
   $node = node_load($comment->nid);
@@ -1852,6 +1854,10 @@ function comment_form($form, &$form_stat
     '#type' => 'value',
     '#value' => $comment->nid,
   );
+  $form['language'] = array(
+    '#type' => 'value',
+    '#value' => isset($comment->language) ? $comment->language : $language->language,
+  );
   $form['uid'] = array(
     '#type' => 'value',
     '#value' => !empty($comment->uid) ? $comment->uid : 0,
