discover: Add setlocale calls in discover server