private function checkLanguageDirectory($dir, $modulePath)
    {
        $melisCoreConfig = $this->getServiceLocator()->get('MelisCoreConfig');
        $confLanguage = $melisCoreConfig->getItem('meliscore/datas/default/langauges/default_trans_files');
        $defaultTransInterface = $confLanguage['defaultTransInterface'];
        $defaultTransForms = $confLanguage['defaultTransForms'];
        $result = true;

        if (!file_exists($dir)) {
            $result = mkdir($dir, 0777, true);
            if(file_exists($modulePath.$defaultTransInterface)){
                copy($modulePath.$defaultTransInterface, $dir.'/'.$defaultTransInterface);
            }
            if(file_exists($modulePath.$defaultTransForms)){
                copy($modulePath.$defaultTransForms, $dir.'/'.$defaultTransForms);
            }
        }

        return $result;
    }