Detects the primary language of input text and returns standardized language codes with confidence scores.