Add os environment language detection