Index: context_contrib/context_contrib.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/context/context_contrib/Attic/context_contrib.module,v
retrieving revision 1.1.2.2.2.2
diff -u -p -r1.1.2.2.2.2 context_contrib.module
--- context_contrib/context_contrib.module	24 Jul 2009 01:12:02 -0000	1.1.2.2.2.2
+++ context_contrib/context_contrib.module	18 Nov 2009 15:20:49 -0000
@@ -32,6 +32,15 @@ function context_contrib_context_conditi
     );
   }
 
+  if (module_exists('locale')) {
+    $languages = locale_language_list();
+    $items['language'] = array(
+      '#title' => t('Language'),
+      '#description' => t('Set this context when a specific interface language is being used.'),
+      '#options' => $languages,
+      '#type' => 'checkboxes',
+    );
+  }
   return $items;
 }
 
@@ -148,3 +157,14 @@ function css_injector_context_page_react
     return;
   }
 }
+
+/** 
+ * Implements hook_init().
+ */   
+function context_contrib_init() {
+  if (module_exists('locale')) {
+    global $language;
+    // Implementation of context_set_by_condition for language.
+    context_set_by_condition('language', $language->language);
+  }
+}
