Index: /controller/wpsg_AdminController.class.php
===================================================================
--- /controller/wpsg_AdminController.class.php	(revision 6299)
+++ /controller/wpsg_AdminController.class.php	(revision 6301)
@@ -95,4 +95,15 @@
 				'subTemplate' => WPSG_PATH_VIEW.'/admin/extended.phtml'
 			);
+			
+			if (function_exists('icl_object_id')) 
+			{
+				
+				$this->shop->view['arSubAction']['wpml'] = array(
+					'Menutext' => __('WPML Einstellungen', 'wpsg'),
+					'subTemplate' => WPSG_PATH_VIEW.'/admin/wpml.phtml'
+				);	
+				
+			}
+			
 			$this->shop->view['arSubAction']['presentation'] = array(
 				'Menutext' => __('Darstellung', 'wpsg'),
@@ -821,5 +832,5 @@
 				if (wpsg_isSizedInt($form_data['id']))
 				{
-
+										
 					$this->db->UpdateQuery(WPSG_TBL_LAND, wpsg_q($form_data['country']), " `id` = '".wpsg_q($form_data['id'])."' ");
 					$this->addBackendMessage(__('Land erfolgreich gespeichert.', 'wpsg'));
@@ -834,4 +845,8 @@
 				}
 
+				$this->shop->addTranslationString('land_'.$form_data['id'], $form_data['country']['name']); 
+				 
+				//icl_register_string('wpsg', '', $form_data['country']['name']);
+				
 				if (wpsg_isSizedInt($form_data['standard'])) $this->update_option('wpsg_defaultland', $form_data['id']);
 
@@ -906,4 +921,57 @@
 		} // public function laenderAction()
 
+		public function wpmlAction() 
+		{
+			
+			if (isset($_REQUEST['wpsg_set_string_translation']))
+			{
+				
+				if (!function_exists('icl_register_string')) throw new \wpsg\Exception(__('WPML ist nicht komplett Installiert (Funktion icl_register_string ist nicht erreichbar)', 'wpsg'));
+			
+				// Alle Automatisch angelegten String-Ãbersetzungen lÃ¶schen
+				$arStringTrans = $this->db->fetchAssocField("SELECT `id` FROM `".WPSG_TBL_WPML_ICL_STRINGS."` WHERE `context` = 'wpsg' AND `name` LIKE 'wpsg_auto_%' ");
+				
+				foreach ($arStringTrans as $st_id)
+				{
+					
+					// LÃ¶schen						
+					$this->db->Query("DELETE FROM `".WPSG_TBL_WPML_ICL_STRING_PAGES."` WHERE `string_id` = '".wpsg_q($st_id)."' ");
+					$this->db->Query("DELETE FROM `".WPSG_TBL_WPML_ICL_STRING_POSITIONS."` WHERE `string_id` = '".wpsg_q($st_id)."' ");
+					$this->db->Query("DELETE FROM `".WPSG_TBL_WPML_ICL_STRING_TRANSLATIONS."` WHERE `string_id` = '".wpsg_q($st_id)."' ");
+					$this->db->Query("DELETE FROM `".WPSG_TBL_WPML_ICL_STRINGS."` WHERE `id` = '".wpsg_q($st_id)."' ");
+									
+				}
+				
+				// LÃ€ndernamen
+				$arToTrans = $this->db->fetchAssocField("SELECT CONCAT('land_', `id`) AS `key`, `name` FROM `".WPSG_TBL_LAND."` ", "key", "name");
+				
+				// Versandzonen
+				$arToTrans += $this->db->fetchAssocField("SELECT CONCAT('vz_', `id`) AS `key`, `name` FROM `".WPSG_TBL_VZ."` ", "key", "name");
+				
+				// Auswahl der Anrede
+				$wpsg_admin_pflicht = $this->shop->get_option('wpsg_admin_pflicht');
+				$arToTrans['anrede_auswahl'] = $wpsg_admin_pflicht['anrede_auswahl'];
+				
+				// Text Widerrufsmail
+				$arToTrans['wpsg_ps_mailwiderruf'] = $this->shop->get_option('wpsg_ps_mailwiderruf');
+				
+				// Module
+				// TODO
+				
+				foreach ($arToTrans as $k => $t)
+				{
+					
+					icl_register_string('wpsg', 'wpsg_auto_'.$k, $t, false, 'de');
+					
+				}
+				 				
+				$this->addBackendMessage(wpsg_translate(__('#1# Texte zur String-Ãbersetzung der Domain "wpsg" hinzugefÃŒgt.'), sizeof($arToTrans)));			 
+				
+				$this->redirect(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=wpml');
+				
+			}
+			
+		} // public function wpmlAction()
+		
 		private function laenderList()
 		{
@@ -1012,6 +1080,5 @@
 				));
 									
-				$this->shop->addTranslationString('land_'.$land_id, $row['1']);
-				$this->shop->addTranslationString('landkrzl_'.$land_id, $row['2']);
+				$this->shop->addTranslationString('land_'.$land_id, $row['1']); 
 					
 			}
@@ -1600,5 +1667,5 @@
 						{
 							
-							$this->shop->addTranslationString('anrede_auswahl', $v);	
+							$this->shop->addTranslationString('anrede_auswahl', $v);
 							
 						}
Index: /controller/wpsg_ShopController.class.php
===================================================================
--- /controller/wpsg_ShopController.class.php	(revision 6299)
+++ /controller/wpsg_ShopController.class.php	(revision 6301)
@@ -3071,70 +3071,82 @@
 		{
 			
-			try 
-			{
-		 
-				if (file_exists(WPSG_PATH_TRANSLATION))
-				{
-					 					
-					preg_match_all('/\$(.*)\040+\=\040+\_\_\(\'([^\']*)/i', file_get_contents(WPSG_PATH_TRANSLATION), $matches);
-					
-					if (@sizeof($matches[1]) != @sizeof($matches[2]))
-					{
-						
-						$this->addBackendError(__('Unerwarteter Fehler beim schreiben der Ãbersetzungsdatei.', 'wpsg'));
-						return;
-						
-					}					
-					
-					$bDrin = false;
-					foreach ($matches[1] as $k => $m)
-					{
-						
-						if ($matches[1][$k] == $key)
+			if (function_exists('icl_register_string'))
+			{
+				
+				// WPML Version
+				icl_register_string('wpsg', 'wpsg_auto_'.$key, $value, false, 'de');
+				
+			}
+			else
+			{
+			
+				try 
+				{
+			 
+					if (file_exists(WPSG_PATH_TRANSLATION))
+					{
+											
+						preg_match_all('/\$(.*)\040+\=\040+\_\_\(\'([^\']*)/i', file_get_contents(WPSG_PATH_TRANSLATION), $matches);
+						
+						if (@sizeof($matches[1]) != @sizeof($matches[2]))
 						{
 							
-							$bDrin = true;
-							$matches[2][$k] = $value;
+							$this->addBackendError(__('Unerwarteter Fehler beim schreiben der Ãbersetzungsdatei.', 'wpsg'));
+							return;
+							
+						}					
+						
+						$bDrin = false;
+						foreach ($matches[1] as $k => $m)
+						{
+							
+							if ($matches[1][$k] == $key)
+							{
+								
+								$bDrin = true;
+								$matches[2][$k] = $value;
+								
+							}
 							
 						}
 						
-					}
-					
-					if (!$bDrin)
-					{
-						
-						$matches[1][] = $key;
-						$matches[2][] = $value;
-						
-					}
-					
-					$strFile = '';
-					
-					foreach ($matches[1] as $k => $m)
-					{
-						
-						$strFile .= '$'.$matches[1][$k]." = __('".$matches[2][$k]."', 'wpsg');\r\n";
-						
-					}
-					
-					@file_put_contents(WPSG_PATH_TRANSLATION, "<?php die(); \r\n".$strFile."\r\n?>");
-					
-				}
-				else
-				{
-	
-					// Leere Datei erstellen
-					@file_put_contents(WPSG_PATH_TRANSLATION, "<?php die(); \r\n$".$key." = __('".$value."', 'wpsg'); \r\n?>");
-					
-				}
-				
-			}
-			catch (Exception $e)
-			{
-				
-				$this->addBackendError('nohspc_'.__('Sprachdatei konnte nicht geschrieben werden! Setzen Sie bitte Schreibrechte auf folgender Datei ÃŒberprÃŒfen:<br /><b>'.WPSG_PATH_TRANSLATION.'</b>', 'wpsg'));
-				
-			}
-			
+						if (!$bDrin)
+						{
+							
+							$matches[1][] = $key;
+							$matches[2][] = $value;
+							
+						}
+						
+						$strFile = '';
+						
+						foreach ($matches[1] as $k => $m)
+						{
+							
+							$strFile .= '$'.$matches[1][$k]." = __('".$matches[2][$k]."', 'wpsg');\r\n";
+							
+						}
+						
+						@file_put_contents(WPSG_PATH_TRANSLATION, "<?php die(); \r\n".$strFile."\r\n?>");
+						
+					}
+					else
+					{
+		
+						// Leere Datei erstellen
+						@file_put_contents(WPSG_PATH_TRANSLATION, "<?php die(); \r\n$".$key." = __('".$value."', 'wpsg'); \r\n?>");
+						
+					}
+					
+				}
+				catch (Exception $e)
+				{
+					
+					$this->addBackendError('nohspc_'.__('Sprachdatei konnte nicht geschrieben werden! Setzen Sie bitte Schreibrechte auf folgender Datei ÃŒberprÃŒfen:<br /><b>'.WPSG_PATH_TRANSLATION.'</b>', 'wpsg'));
+					
+				}
+				
+			}
+				
 		} // public function addTranslationString($key, $value)
 		
Index: /lib/functions.inc.php
===================================================================
--- /lib/functions.inc.php	(revision 6299)
+++ /lib/functions.inc.php	(revision 6301)
@@ -84,5 +84,5 @@
 	 * @param String $val
 	 */
-	function wspg_isValidGeb(&$val)
+	function wpsg_isValidGeb(&$val)
 	{
 		
@@ -90,5 +90,5 @@
 		else return false;
 		
-	} // function wspg_isValidGeb($val)
+	} // function wpsg_isValidGeb($val)
 	
 	/**
Index: /lib/helper_functions.inc.php
===================================================================
--- /lib/helper_functions.inc.php	(revision 6299)
+++ /lib/helper_functions.inc.php	(revision 6301)
@@ -387,150 +387,5 @@
 		
 		return $TC->render(WPSG_PATH_VIEW.'admin/form/checkbox.phtml', false);
-		
-		/*
-		$strReturn = '';
-		
-		if (isset($conf['id']))
-		{
-
-			$field_id = $conf['id'];
-			
-		}
-		else
-		{
-		
-			$field_id = $field_name;
-			
-		}
-		
-		$att = '';
-		
-		if (isset($conf['disabled']) && $conf['disabled'] === true)
-		{
-			
-			$att .= ' disabled="disabled" ';
-			
-		}
-		
-		if (!isset($conf['value'])) $value = '1'; else $value = $conf['value'];
-		
-		$tabindex = 0;
-		if (!wpsg_isSizedString($conf['tabindex']))
-		{
-				
-			wpsg_addSet($GLOBALS['wpsg']['tabindex'], 1);
-			$tabindex = $GLOBALS['wpsg']['tabindex'];
-				
-		}
-		else
-		{
-				
-			$tabindex = $conf['tabindex'];
-				
-		}
-		
-		$att .= ' tabindex="'.$tabindex.'" ';
-		
-		if (isset($conf['fullrow']) && $conf['fullrow'] === true)
-		{
-			
-			$strReturn .= '
-				<div class="wpsg_form_field wpsg_form_field_fullrow">
-					<input type="hidden" name="'.$field_name.'" value="0" />					
-					<label for="'.$field_id.'">
-						<input id="'.$field_id.'" type="checkbox" class="checkbox" '.$att.' name="'.$field_name.'" value="'.$value.'" '.($field_checked?'checked="checked"':'').' />
-						'.$field_label.'
-					</label>
-			';
-			
-			if (isset($conf['help']))
-			{
-					
-				$strReturn .= '<a href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field='.wpsg_hspc($conf['help']).'" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field='.wpsg_hspc($conf['help']).'" class="wpsg_form_help"></a>';
-			
-			}
-			
-			$strReturn .= '
-					<div class="clear"></div>
-				</div>
-			';
-			
-		}
-		else if (isset($conf['labelright']) && $conf['labelright'] === true)
-		{
-
-			$strReturn = '
-				<div class="wpsg_form_field">
-					<div class="wpsg_form_left">&nbsp;</div>
-					<div class="wpsg_form_right">
-						<input type="hidden" name="'.$field_name.'" value="0" />
-						<input id="'.$field_id.'" type="checkbox" class="checkbox" '.$att.' name="'.$field_name.'" value="'.$value.'" '.($field_checked?'checked="checked"':'').' />
-						<label for="'.$field_id.'">'.$field_label.((isset($conf['noDoubleDot']))?'':':').'</label>
-			';
-				
-			if (isset($conf['help']))
-			{
-					
-				$strReturn .= '<a href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field='.wpsg_hspc($conf['help']).'" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field='.wpsg_hspc($conf['help']).'" class="wpsg_form_help"></a>';
-			
-			}
-				
-			if (isset($conf['hint']))
-			{
-			
-				if (substr($conf['hint'], 0, 7) == 'nohspc_')
-					$strReturn .= '<div class="wpsg_clear"></div><p class="wpsg_hinweis">'.substr($conf['hint'], 7).'</p>';
-				else
-					$strReturn .= '<div class="wpsg_clear"></div><p class="wpsg_hinweis">'.wpsg_hspc($conf['hint']).'</p>';
-			
-			}
-			
-			$strReturn .= '
-						</div>
-					<div class="wpsg_clear"></div>
-				</div>
-			';
-			
-		}
-		else
-		{
-		
-			$strReturn = '
-				<div class="wpsg_form_field">
-					<div class="wpsg_form_left">
-						<label for="'.$field_id.'">'.$field_label.((isset($conf['noDoubleDot']))?'':':').'</label>
-					</div>
-					<div class="wpsg_form_right">
-						<input type="hidden" name="'.$field_name.'" value="0" />
-						<input id="'.$field_id.'" type="checkbox" class="checkbox" '.$att.' name="'.$field_name.'" value="'.$value.'" '.($field_checked?'checked="checked"':'').' />
-			';
-			
-			if (isset($conf['help']))
-			{
-			
-				$strReturn .= '<a href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field='.wpsg_hspc($conf['help']).'" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field='.wpsg_hspc($conf['help']).'" class="wpsg_form_help"></a>';
-	
-			}
-			
-			if (isset($conf['hint']))
-			{
-				
-				if (substr($conf['hint'], 0, 7) == 'nohspc_')
-					$strReturn .= '<div class="wpsg_clear"></div><p class="wpsg_hinweis">'.substr($conf['hint'], 7).'</p>';
-				else
-					$strReturn .= '<div class="wpsg_clear"></div><p class="wpsg_hinweis">'.wpsg_hspc($conf['hint']).'</p>';
-				
-			}
-	
-			$strReturn .= '
-						</div>
-					<div class="wpsg_clear"></div>
-				</div>
-			';
-			
-		}
-		
-		return $strReturn;
-		*/
+		 
 	} // function wpsg_drawForm_Checkbox($field_name, $field_label, $conf = array())
 
Index: /lib/wpsg_basket.class.php
===================================================================
--- /lib/wpsg_basket.class.php	(revision 6299)
+++ /lib/wpsg_basket.class.php	(revision 6301)
@@ -1179,6 +1179,6 @@
 				// Geburtsdatum
 				if (
-						($custom_config['geb'] != '1' && !wspg_isValidGeb($this->arCheckout['geb'])) ||
-						(wpsg_isSizedString($this->arCheckout['geb']) && !wspg_isValidGeb($this->arCheckout['geb']))
+						($custom_config['geb'] != '1' && !wpsg_isValidGeb($this->arCheckout['geb'])) ||
+						(wpsg_isSizedString($this->arCheckout['geb']) && !wpsg_isValidGeb($this->arCheckout['geb']))
 					
 					)
Index: /mods/wpsg_mod_request.class.php
===================================================================
--- /mods/wpsg_mod_request.class.php	(revision 6299)
+++ /mods/wpsg_mod_request.class.php	(revision 6301)
@@ -538,9 +538,9 @@
 					
 				}
-				//else if (array_key_exists($k, $required_fields) && $required_fields[$k] != 1 && $k === "geb" && !wspg_isValidGeb($v))
+				//else if (array_key_exists($k, $required_fields) && $required_fields[$k] != 1 && $k === "geb" && !wpsg_isValidGeb($v))
 				else if ($k === "geb" && 
 						(
-							($required_fields[$k] != '1' && !wspg_isValidGeb($v)) ||
-							(wpsg_isSizedString($v) && !wspg_isValidGeb($v))
+							($required_fields[$k] != '1' && !wpsg_isValidGeb($v)) ||
+							(wpsg_isSizedString($v) && !wpsg_isValidGeb($v))
 						)
 					) 
@@ -560,5 +560,5 @@
 					
 					$_SESSION['wpsg']['wpsg_mod_request']['error'][] = 'email';
-					$bOK = false; $this->shop->addFrontendError(__('Bitte die Eingabe der E-Mail Adresse ÃŒberprÃŒfen!', 'wspg'));
+					$bOK = false; $this->shop->addFrontendError(__('Bitte die Eingabe der E-Mail Adresse ÃŒberprÃŒfen!', 'wpsg'));
 					
 				}
Index: /views/admin/wpml.phtml
===================================================================
--- /views/admin/wpml.phtml	(revision 6301)
+++ /views/admin/wpml.phtml	(revision 6301)
@@ -0,0 +1,48 @@
+<?php
+
+    /**
+     * User: Daschmi (daschmi@daschmi.de)
+     * Date: 01.06.2017
+     * Time: 13:53
+     */
+
+    namespace wpsg;
+
+?>
+
+<div class="wpsg_admin_submenu">
+	
+	<div class="list-group">
+		<span class="list-group-head list-group-item"><?php echo __('Konfiguration'); ?></span>		
+		<?php foreach ($this->view['arSubAction'] as $k => $v) { ?>		 
+		<a class="list-group-item <?php echo (($k == $this->view['subAction'])?'active':''); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;subaction=<?php echo $k; ?>"><?php echo $v['Menutext']; ?></a>		
+		<?php } ?>
+	</div> 
+	
+</div>
+		
+<div class="wpsg_admin_content form-horizontal">
+	<form name="form1" method="post" enctype="multipart/form-data" action="<?php echo wpsg_hspc(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=wpml&noheader=1'); ?>">
+	
+		<div class="panel panel-default">
+  			<div class="panel-heading clearfix">
+          		<h3 class="panel-title"><?php echo __('WPML Einstellungen', 'wpsg'); ?></h3>
+        	</div>
+  			<div class="panel-body">
+                
+                <?php /* ?>
+                <?php echo wpsg_drawForm_Checkbox('clear', __('Nicht verwendete String-Ãbersetzungen entfernen', 'wpsg'), false, array('fullWidth' => true)); ?>
+                
+                <br /> */ ?>
+				
+				<p class="info"><?php echo __('FÃŒgt dynamische Inhalte wie LÃ€ndernamen, Namen von Varianten etc. zu den String-Ãbersetzungen von WPML hinzu und ermÃ¶glicht unter WPML -> String-Ãbersetzung die Ãbersetzung von diesen Inhalten.', 'wpsg'); ?></p>
+                
+                <input type="submit" name="wpsg_set_string_translation" class="button" value="<?php echo __('String-Ãbersetzung fÃŒllen'); ?>" />
+                                
+            </div>
+        </div>
+        
+    </form>
+</div>
+            
+                
Index: /views/mods/mod_produktartikel/produkt_edit_allgemein.phtml
===================================================================
--- /views/mods/mod_produktartikel/produkt_edit_allgemein.phtml	(revision 6299)
+++ /views/mods/mod_produktartikel/produkt_edit_allgemein.phtml	(revision 6301)
@@ -10,8 +10,8 @@
 
 <?php if (wpsg_isSizedInt($this->get_option('wpsg_mod_produktartikel_ean'))) { ?>
-<?php echo wpsg_drawForm_Input('wpsg_mod_produktartikel[ean]', __('EAN', 'wspg'), $this->view['data']['ean'], array('help' => 'wpsg_mod_produktartikel_ean')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_produktartikel[ean]', __('EAN', 'wpsg'), $this->view['data']['ean'], array('help' => 'wpsg_mod_produktartikel_ean')); ?>
 <?php } ?>
 
 <?php if (wpsg_isSizedInt($this->get_option('wpsg_mod_produktartikel_gtin'))) { ?>
-<?php echo wpsg_drawForm_Input('wpsg_mod_produktartikel[gtin]', __('GTIN', 'wspg'), $this->view['data']['gtin'], array('help' => 'wpsg_mod_produktartikel_gtin')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_produktartikel[gtin]', __('GTIN', 'wpsg'), $this->view['data']['gtin'], array('help' => 'wpsg_mod_produktartikel_gtin')); ?>
 <?php } ?>
Index: /views/mods/mod_request/adminmail.phtml
===================================================================
--- /views/mods/mod_request/adminmail.phtml	(revision 6299)
+++ /views/mods/mod_request/adminmail.phtml	(revision 6301)
@@ -11,5 +11,5 @@
  
 <?php echo wpsg_translate(__('Das Anfrageformular auf der Homepage wurde am #1# um #2# Uhr', 'wpsg'), date('d.m.Y', $time), date('H:i', $time)); ?> 
-<?php echo __('mit folgenden Daten ausgefÃŒllt:', 'wspg'); ?> 
+<?php echo __('mit folgenden Daten ausgefÃŒllt:', 'wpsg'); ?> 
  
 <?php echo __('Produktdaten', 'wpsg'); ?>: 
Index: /views/mods/mod_si/settings_edit.phtml
===================================================================
--- /views/mods/mod_si/settings_edit.phtml	(revision 6299)
+++ /views/mods/mod_si/settings_edit.phtml	(revision 6301)
@@ -7,6 +7,6 @@
 ?>
 
-<?php echo wpsg_drawForm_Input('wpsg_mod_si_user_id', __('Kundennummer bei SOFORT Ident', 'wspg'), $this->get_option('wpsg_mod_si_user_id'), array('help' => 'wpsg_mod_si_user_id')); ?>
-<?php echo wpsg_drawForm_Input('wpsg_mod_si_project_id', __('Projektnummer bei SOFORT Ident', 'wspg'), $this->get_option('wpsg_mod_si_project_id'), array('help' => 'wpsg_mod_si_project_id')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_si_user_id', __('Kundennummer bei SOFORT Ident', 'wpsg'), $this->get_option('wpsg_mod_si_user_id'), array('help' => 'wpsg_mod_si_user_id')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_si_project_id', __('Projektnummer bei SOFORT Ident', 'wpsg'), $this->get_option('wpsg_mod_si_project_id'), array('help' => 'wpsg_mod_si_project_id')); ?>
 
 <br />
Index: /views/warenkorb/basket.phtml
===================================================================
--- /views/warenkorb/basket.phtml	(revision 6299)
+++ /views/warenkorb/basket.phtml	(revision 6301)
@@ -10,5 +10,5 @@
 
 	//wpsg_debug(__('Deutschland', 'wpsg'));
-
+ 
 ?>
 <div class="wpsg wpsg_basket <?php echo ((isset($_REQUEST['wpsg_basket_ajax']))?'wpsg_basket_ajax':''); ?>">
Index: /views/warenkorb/overview.phtml
===================================================================
--- /views/warenkorb/overview.phtml	(revision 6299)
+++ /views/warenkorb/overview.phtml	(revision 6301)
@@ -156,5 +156,5 @@
 							} ?>
 							<?php if ($img_url !== false) { ?>
-							   <img class="theme_border_color_2 theme_color_2" src="<?php echo $img_url; ?>" alt="<?php echo wpsg_translate(__('Produktbilder von Produkte #1#', 'wspg'), $p['name']); ?>" />
+							   <img class="theme_border_color_2 theme_color_2" src="<?php echo $img_url; ?>" alt="<?php echo wpsg_translate(__('Produktbilder von Produkte #1#', 'wpsg'), $p['name']); ?>" />
 							<?php } ?>
 							
Index: /wpshopgermany.php
===================================================================
--- /wpshopgermany.php	(revision 6299)
+++ /wpshopgermany.php	(revision 6301)
@@ -11,5 +11,7 @@
 	Author URI: http://maennchen1.de/
 	*/
- error_reporting(E_ALL);ini_set("display_errors", "1");
+ 
+	//error_reporting(E_ALL); ini_set("display_errors", "1");
+
 	define('WPSG_VERSION', '9.9.9');
 
@@ -62,5 +64,11 @@
  	define('WPSG_TBL_SCALEPRICE', $prefix.'wpsg_scaleprice');
  	define('WPSG_TBL_DELIVERYNOTE', $prefix.'wpsg_deliverynote');
-		
+	
+	// WPML Tabellen
+	define('WPSG_TBL_WPML_ICL_STRINGS', $prefix.'icl_strings');
+	define('WPSG_TBL_WPML_ICL_STRING_PAGES', $prefix.'icl_string_pages');
+	define('WPSG_TBL_WPML_ICL_STRING_POSITIONS', $prefix.'icl_string_positions');
+	define('WPSG_TBL_WPML_ICL_STRING_TRANSLATIONS', $prefix.'icl_string_translations');
+
 	// Slug
  	define('WPSG_FOLDERNAME', basename(dirname(__FILE__)));
