Index: stringoverrides.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/stringoverrides/Attic/stringoverrides.module,v
retrieving revision 1.5.2.4.2.9
diff -u -r1.5.2.4.2.9 stringoverrides.module
--- stringoverrides.module	24 Jan 2009 05:34:26 -0000	1.5.2.4.2.9
+++ stringoverrides.module	12 Mar 2009 00:29:48 -0000
@@ -102,9 +102,10 @@
  */
 if (!function_exists('locale')) {
   function locale_supported_languages($reset = FALSE, $getall = FALSE) {
+    $language = variable_get('stringoverrides_language', 'en-US');
     return array(
-      'name' => array('xx' => 'String Overrides'),
-      'formula' => array('xx' => ''),
+      'name' => array($language => 'String Overrides'),
+      'formula' => array($language => ''),
     );
   }
 
Index: stringoverrides.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/stringoverrides/Attic/stringoverrides.admin.inc,v
retrieving revision 1.1.2.2.2.9
diff -u -r1.1.2.2.2.9 stringoverrides.admin.inc
--- stringoverrides.admin.inc	24 Jan 2009 05:34:26 -0000	1.1.2.2.2.9
+++ stringoverrides.admin.inc	12 Mar 2009 00:29:48 -0000
@@ -26,6 +26,13 @@
     $form['string'][$delta] = stringoverrides_textbox_combo($delta);
     $delta++;
   }
+  $form['language'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Language code'),
+    '#description' => t('The language code that appears in the <a href="@dirlang">language information and text direction</a> for the HTML document. Note that this cannot be "en", but something else. "en-US" is appropriate, but feel free to change it.', array('dirlang' => 'http://www.w3.org/TR/1999/REC-html401-19991224/struct/dirlang.html#langcodes')),
+    '#default_value' => variable_get('stringoverrides_language', 'en-US'),
+    '#required' => TRUE,
+  );
 
   $form['save'] = array(
     '#type' => 'submit',
@@ -50,6 +57,9 @@
   // Save into the English language definition
   variable_set('locale_custom_strings_en', $words);
 
+  // Save the language name
+  variable_set('stringoverrides_language', $form_values['language']);
+
   // Output a message to the user
   drupal_set_message('Your changes have been saved.');
 }
