Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1925)
+++ branches/2.8.x/CHANGELOG	(revision 1926)
@@ -11,6 +11,8 @@
 ! = Update/Change
 ===============================================================================
 
+10 Jun-2013 Build 1926 Werner v.d.Decken(DarkViper)
+! TranslateAdaptorWbOldStyle now also accepts modified admin directory names
 09 Jun-2013 Build 1925 Werner v.d.Decken(DarkViper)
 ! set default rights to dissabled for new installed modules
 08 Jun-2013 Build 1924 Werner v.d.Decken(DarkViper)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1925)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1926)
@@ -51,5 +51,5 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.3');
-if(!defined('REVISION')) define('REVISION', '1925');
+if(!defined('REVISION')) define('REVISION', '1926');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/framework/TranslateAdaptorWbOldStyle.php
===================================================================
--- branches/2.8.x/wb/framework/TranslateAdaptorWbOldStyle.php	(revision 1925)
+++ branches/2.8.x/wb/framework/TranslateAdaptorWbOldStyle.php	(revision 1926)
@@ -45,7 +45,6 @@
 	{
 		$this->sAddon = $sAddon;
 		$this->sFilePath = str_replace('\\', '/', dirname(dirname(__FILE__)).'/'.$sAddon);
-		$this->sFilePath = rtrim($this->sFilePath, '/').'/languages/';
 	}
 /**
  * Load languagefile
@@ -54,6 +53,7 @@
  */
 	public function loadLanguage($sLangCode)
 	{
+		$this->_getAddonPath();
 		$aTranslations = array();
 		$sLangFile = strtolower($sLangCode.'.php');
 		if( ($aDirContent = scandir($this->sFilePath)) !== false) {
@@ -76,6 +76,7 @@
  */
 	public function findFirstLanguage()
 	{
+		$this->_getAddonPath();
 	// search for first available and readable language file
 		$sRetval = '';
 		if(is_readable($this->sFilePath)) {
@@ -92,6 +93,24 @@
 		return $sRetval;
 	}
 /**
+ * set path to translation files
+ * @throws TranslationException
+ */
+	private function _getAddonPath()
+	{
+		$sAddon   = str_replace('\\', '/', $this->sAddon);
+		$sDirname = str_replace('\\', '/', dirname(dirname(__FILE__))).'/';
+		$this->sFilePath = $sDirname.$sAddon.'/languages/';
+		if(!is_readable($this->sFilePath) && (strpos('admin', $this->sAddon) === 0)) {
+		// correct modified admin directory
+			$sTmp = trim(WbAdaptor::getInstance()->AcpDir);
+			$this->sFilePath = $sDirname.preg_replace('/^admin/', $sTmp, $sAddon).'/languages/';
+			if(!is_readable($this->sFilePath)) {
+				throw new TranslationException('missing language definitions in: '.$sAddon.'/languages');
+			}
+		}
+	}
+/**
  * Import language definitions into array
  * @param string load language from filename
  * @return array contains all found translations
