Malayalam (, ) is a Dravidian language, primarily spoken by the Malayali people, native to the Indian state of Keralam and the union territories of Lakshadweep and Puducherry (Mahé district). It is one of 22 scheduled languages, as well as one of 11 classical languages, of India. Malayalam has official language status in Kerala, Lakshadweep and Puducherry (Mahé).

Malayalam is spoken by significant numbers of people in India and is the majority language in the state of Kerala. Malayalam is also spoken by linguistic minorities in the neighbouring states; with a significant number of speakers in the Kodagu and Dakshina Kannada districts of Karnataka, and Kanyakumari, Coimbatore and Nilgiris district of Tamil Nadu. It is also spoken by the Malayali Diaspora worldwide, especially in the Persian Gulf countries, due to the large populations of Malayali expatriates there. They are a significant population in each city in India including Mumbai, Bengaluru, Chennai, Delhi, Hyderabad etc.

The origin of Malayalam remains a matter of dispute among scholars. The mainstream view holds that Malayalam descends from a western coastal dialect of early Middle Tamil and separated from it sometime between the 9th and 13th centuries, though the spoken dialect of this period likely also preserved some archaisms suggesting an earlier divergence of the spoken dialects in the prehistoric period. A second view argues for the development of the two languages out of "Proto-Dravidian" or "Proto-Tamil-Malayalam" either in the prehistoric period or in the middle of the first millennium A.D.,"There has been a tendency among historical linguists to think of Malayalam as having diverged directly from Tamil (the Tamil spoken from ancient times in what is today Kerala), perhaps as late as the thirteenth century. But this view is almost certainly wrong. Tamil and Malayalam must have separated from one another at a much earlier stage, perhaps around the middle of the first millennium A.D., as we can see from several surviving archaic features of Malayalam." although this is generally rejected by historical linguists.S.V. Shanmugam (1976). "Formation and Development of Malayalam", Indian Literature, Vol. 19, No. 3 (May–June 1976), pp. 5–30. "Yet, some scholars of Malayalam still believe that Malayalam should have originated independently from the Proto-Dravidian at a very early stage [...] The native scholars are unwilling to accept Malayalam as an ausbau language; instead they take it to be an abstand language 'language by distance' contrary to historical evidence (pp.9–10)". The Quilon Syrian copper plates of 849/850 CE are considered by some to be the oldest available inscription written in Old Malayalam. However, the existence of Old Malayalam is sometimes disputed by scholars. They regard the Chera Perumal inscriptional language as a diverging dialect or variety of contemporary Tamil. The oldest extant literary work in Malayalam distinct from the Tamil tradition is Ramacharitam (late 12th or early 13th century).

The earliest script used to write Malayalam was the Vatteluttu script. The current Malayalam script is based on the Vatteluttu script, which was extended with Grantha script letters to adopt Indo-Aryan loanwords. It bears high similarity with the Tigalari script, a historical script that was used to write the Tulu language in South Canara, and Sanskrit in the adjacent Malabar region. The modern Malayalam grammar is based on the book Kerala Panineeyam written by A. R. Raja Raja Varma in late 19th century CE. The first travelogue in any Indian language is the Malayalam Varthamanappusthakam, written by Paremmakkal Thoma Kathanar in 1785.

Robert Caldwell describes the extent of Malayalam in the 19th century as extending from the vicinity of Kumbla in the north where it supersedes with Tulu to Kanyakumari in the south, where it begins to be superseded by Tamil, beside the inhabited islands of Lakshadweep in the Arabian Sea.

Etymology In a 7th-century poem written by the Tamil poet Sambandar the people of Kerala are referred to as malaiyāḷar (mountain people). (p.21-50 of journal) The word is also said to originate from the words , meaning 'mountain', and , meaning 'region' or '-ship' (as in "township"); thus translates directly as 'the mountain region'. The term Malabar was used as an alternative term for Malayalam in foreign trade circles to denote the southwestern coast of the Indian peninsula, which also means The land of hills.C. A. Innes and F. B. Evans, Malabar and Anjengo, volume 1, Madras District Gazetteers (Madras: Government Press, 1915), p. 2.M. T. Narayanan, Agrarian Relations in Late Medieval Malabar (New Delhi: Northern Book Centre, 2003), xvi–xvii. The term originally referred to the western hilly land of the Chera dynasty (later Zamorins and the Kingdom of Cochin), Kingdom of Ezhimala (later Kolathunadu), and Ay kingdom (later Travancore), and only later became the name of its language. The language Malayalam was alternatively called , , , , , , , and until the early 19th century CE.Malabar Manual (1887), William Logan, Calicut

The earliest extant literary works in the regional language of present-day Kerala probably date back to as early as the 12th century. At that time, the language was differentiated by the name Kerala Bhasha. The earliest mention of Malayalam as a language is found outside of Kerala in the 15th century Telugu work Śrībhīmēśvarapurāṇamu by Śrīnātha. The distinctive "Malayalam" named identity of this language appears to have come into existence in Kerala only around this time, when it was known as "Malayayma" or "Malayanma"; the words were also used to refer to the script and the region. According to Duarte Barbosa, a Portuguese visitor who visited Kerala in the early 16th century CE, the people in the southwestern Malabar coast of India from Kumbla in north to Kanyakumari in south had a unique language, which was called "Maliama" by them.

Prior to this period, the people of Kerala usually referred to their language as "Tamil", and both terms overlapped into the colonial period.

History

Due to the geographical isolation of the Malabar Coast from the rest of the Indian peninsula due to the presence of the Western Ghats mountain ranges which lie parallel to the coast, the dialect of Old Tamil spoken in Kerala was different from that spoken in Tamil Nadu. The mainstream view holds that Malayalam began to grow as a distinct literary language from the western coastal dialect of Middle Tamil and the linguistic separation completed sometime between the 9th and 13th centuries. The renowned poets of Classical Tamil such as Paranar (1st century CE), Ilango Adigal (2nd–3rd century CE), and Kulasekhara Alvar (9th century CE) were Keralites. The Sangam works can be considered as the ancient predecessor of Malayalam.

However Govindankutty argues that both Tamil and Malayalam was developed during the prehistoric period from a common ancestor, "Proto-Tamil-Malayalam", and that the notion of Malayalam being a "daughter" of Tamil is misplaced. This is based on the fact that Malayalam and several Dravidian languages on the Western Coast have common archaic features which are not found even in the oldest historical forms of literary Tamil.A. Govindankutty (1972) – From proto-Tamil-Malayalam to West Coast dialects. Indo-Iranian Journal, Vol. 14 No. (1/2), pp. 52–60 Despite this, Malayalam shares many common innovations with Tamil that emerged during the early Middle Tamil period, thus making independent descent untenable. Indeed, most features of Malayalam morphology are derivable from a form of speech corresponding to early Middle Tamil.

Robert Caldwell, in his 1856 book "A Comparative Grammar of the Dravidian or South-Indian Family of Languages", opined that literary Malayalam branched from Classical Tamil and over time gained a large amount of Sanskrit vocabulary and lost the personal terminations of verbs.Caldwell, Robert (1875). A Comparative Grammar of the Dravidian or South-Indian Family of Languages , second edition. London: Trübner & Co. As the language of scholarship and administration, Old-Tamil, which was written in Tamil-Brahmi and the Vatteluttu alphabet later, greatly influenced the early development of Malayalam as a literary language. The Malayalam script began to diverge from the Vatteluttu and the Western Grantha scripts in the 8th and 9th centuries of Common Era. By the end of the 13th century, a written form of the language emerged which was unique from the Vatteluttu script that was used to write Tamil on the eastern coast.

Old Malayalam Old Malayalam (), an inscriptional language found in Kerala from the 9th to the 13th century CE,M. G. S. Narayanan. "Kozhikkodinte Katha". Malayalam/Essays. Mathrubhumi Books. Second Edition (2017) is the earliest attested form of Malayalam. The development of Old Malayalam from a western coastal dialect of Middle Tamil began around the 8th century CE. It remained a west coast dialect until circa 9th century CE or a little later. The origin of Malayalam calendar dates back to year 825 CE. It is generally agreed that the western coastal dialect of Tamil began to separate, diverge, and grow as a distinct language due to geographical separation of Kerala from the Tamil country and the influence of Sanskrit and Prakrit from the Nambudiri Brahmins of the Malabar Coast,although the spoken dialect itself likely also preserved several archaic features suggesting an earlier divergence of the spoken dialects in the prehistoric period.

The Old Malayalam language was employed in several official records and transactions (at the level of the Chera Perumal kings, as well as the upper-caste (Nambudiri) village temples). Most of the inscriptions in Old Malayalam were found from the northern districts of Kerala, which lie adjacent to Tulu Nadu. Old Malayalam was mostly written in Vatteluttu script (with Pallava/Southern Grantha characters). Old Malayalam had several features distinct from the contemporary Tamil, including the nasalisation of adjoining sounds, substitution of palatal sounds for dental sounds, contraction of vowels, and the rejection of gender verbs. Ramacharitam and Thirunizhalmala are the possible literary works of Old Malayalam found so far. Some authors consider Old Malayalam to be rather Tamil or a variety of tamil.

Middle Malayalam