Fixed missing locale stuff