DataObjects/I18n.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 04:01:27 +0000 (12:01 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 04:01:27 +0000 (12:01 +0800)
DataObjects/I18n.php

index aa33cf3..aad7ea7 100644 (file)
@@ -135,9 +135,10 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
         
         if ($inlang === false) {
             // do we want to add our 'configured ones..'
-            foreach( $this->availableCodes('l') as $l) {
+            // We only build translatiosn for our configured ones..
+            //foreach( $this->availableCodes('l') as $l) {
                 
-             // foreach( $this->cfg['t'] as $l) {
+            foreach( $this->cfg['t'] as $l) {
                 $this->buildDB($ltype, $l);
             }
             return;