Fixed the auto-detection of the user's language