Change locale_gen to locale.