BUG-13604 Day and month are not translated

Day and month are not translated when the country is not used inside the po file header
This commit is contained in:
norahmollo
2013-12-16 12:15:41 -04:00
parent 915217a20e
commit 552a4265a3
5 changed files with 169 additions and 146 deletions

View File

@@ -133,6 +133,16 @@ class Language extends BaseLanguage
return $oDataset->getRow();
}
public function findLocationByLanId ($LAN_ID)
{
$oCriteria = new Criteria( 'workflow' );
$oCriteria->addSelectColumn( LanguagePeer::LAN_LOCATION );
$oCriteria->add( LanguagePeer::LAN_ID, $LAN_ID, Criteria::LIKE );
$oDataset = LanguagePeer::doSelectRS( $oCriteria );
$oDataset->setFetchmode( ResultSet::FETCHMODE_ASSOC );
$oDataset->next();
return $oDataset->getRow();
}
/*
* Import a language file
*