Fixed locale bug when user not logged.