The change in language function due to an injury to the cerebral cortex of brain. It causes partial or total loss of ability to express oneself and/or to understand language.