fix mkconf and update locales