[diagnose] check locale-gen setting