Current:
<?php
class eZTranslationCache {
    function 
cacheDirectory() {
        require_once 
'lib/ezutils/classes/ezini.php';
        
$ini =& eZINI::instance();
        
$locale $ini->variable'RegionalSettings''Locale' );
    }
}
?>

That would make almost all components depend on eZINI, and that's something we want to avoid.

New:
<?php
class ezcTranslationCache {
    protected 
$region;

    function 
__construct$region ) {
        
$this->region $region;
    }
}
?>