Fix catalan language setting and add LOGFILE