index db532ae..56b110d
--- a/eu_cookie_compliance.admin.inc
+++ b/eu_cookie_compliance.admin.inc
@@ -7,12 +7,20 @@
 /**
  * Provides form for cookie control popup.
  */
-function eu_cookie_compliance_admin_form($form_state) {
-
+function eu_cookie_compliance_admin_form($form, $form_state) {
   global $language;
-  $ln = $language->language;
-  $popup_settings = eu_cookie_compliance_get_settings();
 
+  $form_language = $language;
+  $ln = $form_language->language;
+
+  if (isset($form_state['build_info']['args'][0]) && $ln = $form_state['build_info']['args'][0]) {
+    $languages = language_list();
+    $form_language = (!empty($languages[$ln]) ? $languages[$ln] : $form_language);
+  }
+
+  $form['#language'] = $form_language;
+
+  $popup_settings = eu_cookie_compliance_get_settings();
   $form['eu_cookie_compliance_domain'] = array(
     '#type' => 'textfield',
     '#title' => t('Domain'),
@@ -20,13 +28,13 @@ function eu_cookie_compliance_admin_form($form_state) {
     '#description' => t('Sets the domain of the cookie to a specific url.  Used when you need consistency across domains.  This is language independent.'),
   );
 
-  $form['eu_cookie_compliance_' . $ln] = array (
-    '#type'  => 'item',
-    '#tree'   => TRUE,
+  $form['eu_cookie_compliance_' . $ln] = array(
+    '#type' => 'item',
+    '#tree' => TRUE,
   );
 
   if (module_exists('locale')) {
-    $form['eu_cookie_compliance_' . $ln]['#title'] = t('You are editing settings for the %language language.', array('%language' => $language->name));
+    $form['eu_cookie_compliance_' . $ln]['#title'] = t('You are editing settings for the %language language.', array('%language' => $form_language->name));
   }
 
   $form['eu_cookie_compliance_' . $ln]['popup_enabled'] = array(
@@ -42,7 +50,7 @@ function eu_cookie_compliance_admin_form($form_state) {
     '#description' => t('By default by clicking any link on the website the visitor accepts the cookie policy. Uncheck this box if you do not require this functionality. You may want to edit the pop-up message below accordingly.'),
   );
 
-  if (module_exists('geoip') || module_exists('smart_ip')){
+  if (module_exists('geoip') || module_exists('smart_ip')) {
     $form['eu_cookie_compliance_' . $ln]['eu_only'] = array(
       '#type' => 'checkbox',
       '#title' => t('Only display popup in EU countries (using the <a href="http://drupal.org/project/geoip">geoip</a> module or the <a href="http://drupal.org/project/smart_ip">smart_ip</a> module)'),
@@ -173,7 +181,8 @@ function eu_cookie_compliance_admin_form($form_state) {
   $form['eu_cookie_compliance_' . $ln]['popup_bg_hex'] = array(
     '#type' => $form_color_picker_type,
     '#title' => t('Background Color'),
-    '#default_value' => isset($popup_settings['popup_bg_hex']) ? check_plain($popup_settings['popup_bg_hex']) : '0779BF', // Garland colors :)
+    '#default_value' => isset($popup_settings['popup_bg_hex']) ? check_plain($popup_settings['popup_bg_hex']) : '0779BF',
+    // Garland colors :)
     '#description' => t('Change the background color of the popup. Provide HEX value without the #'),
     '#element_validate' => array('eu_cookie_compliance_validate_hex'),
   );
@@ -208,7 +217,11 @@ function eu_cookie_compliance_admin_form($form_state) {
     '#type' => 'textarea',
     '#title' => t('Exclude paths'),
     '#default_value' => isset($popup_settings['exclude_paths']) ? $popup_settings['exclude_paths'] : '',
-    '#description' => t("Specify pages by using their paths. Enter one path per line. The '*' character is a wildcard. Example paths are %blog for the blog page and %blog-wildcard for every personal blog. %front is the front page.", array('%blog' => 'blog', '%blog-wildcard' => 'blog/*', '%front' => '<front>')),
+    '#description' => t("Specify pages by using their paths. Enter one path per line. The '*' character is a wildcard. Example paths are %blog for the blog page and %blog-wildcard for every personal blog. %front is the front page.", array(
+      '%blog' => 'blog',
+      '%blog-wildcard' => 'blog/*',
+      '%front' => '<front>'
+    )),
   );
 
 
@@ -219,8 +232,9 @@ function eu_cookie_compliance_admin_form($form_state) {
  * Validates form for cookie controll popup.
  */
 function eu_cookie_compliance_admin_form_validate($form, &$form_state) {
-  global $language;
-  $ln = $language-> language;
+  $form_language = $form['#language'];
+
+  $ln = $form_language->language;
   if (!preg_match('/^[1-9][0-9]{0,4}$/', $form_state['values']['eu_cookie_compliance_' . $ln]['popup_height']) && !empty($form_state['values']['eu_cookie_compliance_' . $ln]['popup_height'])) {
     form_set_error('eu_cookie_compliance_' . $ln . '][popup_height', t('Height must be an integer value .'));
   }
@@ -238,7 +252,7 @@ function eu_cookie_compliance_admin_form_validate($form, &$form_state) {
     form_set_error('eu_cookie_compliance_' . $ln . '][popup_link', t('Looks like your privacy policy link contains fragment #, you should make this an absolute url eg @link', array('@link' => $popup_link)));
   }
 
-  cache_clear_all('eu_cookie_compliance_client_settings_' . $language->language, 'cache');
+  cache_clear_all('eu_cookie_compliance_client_settings_' . $ln, 'cache');
 }
 
 /**
diff --git a/eu_cookie_compliance.module b/eu_cookie_compliance.module
index 5bcb200..9989d77
--- a/eu_cookie_compliance.module
+++ b/eu_cookie_compliance.module
@@ -11,14 +11,31 @@
  * Implements hook_menu().
  */
 function eu_cookie_compliance_menu() {
+  $default_language = language_default('language');
+
   $items['admin/config/system/eu-cookie-compliance'] = array(
     'title' => 'EU Cookie Compliance',
     'description' => 'Make your website compliant with the EU Directive on Privacy and Electronic Communications.',
     'page callback' => 'drupal_get_form',
-    'page arguments' => array('eu_cookie_compliance_admin_form'),
+    'page arguments' => array('eu_cookie_compliance_admin_form', $default_language),
     'access arguments' => array('administer EU Cookie Compliance popup'),
     'file' => 'eu_cookie_compliance.admin.inc',
   );
+
+  foreach(language_list() as $key => $language) {
+    if (!empty($language->enabled)) {
+      $items['admin/config/system/eu-cookie-compliance/' . $language->language] = array(
+        'title' => $language->name,
+        'description' => 'Make your website compliant with the EU Directive on Privacy and Electronic Communications.',
+        'page callback' => 'drupal_get_form',
+        'page arguments' => array('eu_cookie_compliance_admin_form', $language->language),
+        'access arguments' => array('administer EU Cookie Compliance popup'),
+        'file' => 'eu_cookie_compliance.admin.inc',
+        'type' => MENU_LOCAL_TASK,
+      );
+    }
+  }
+
   return $items;
 }
 
