translation cases normalized, ruby 2.0 hash syntax added