Add correct language determination.