Bahasa Rojak (Malay for "mixed language") or Rojak language is a Malaysian pidgin (trade language) formed by code-switching among two or more of the many languages of Malaysia. The word rojak is taken from a local food of the same name.
Rojak language of Malaysia can be traced back to 1402, in the early Malacca of Parameswara, an international port where more than 80 languages from a variety of cultures were spoken. Worldwide traders, settlers, and original dwellers speaking multiple languages in a conversation was common.
According to the Encyclopedia of Malaysia (Languages and Literature), it is a contact language, specifically a pidgin, known in modern Malaysia as Rojak language. The uniqueness of Rojak language is in its code-switching style. A person who speaks Rojak language may begin with standard Malaysian, continue with English, then mix one or two words in Cantonese garnished with Tamil, and finish with Mandarin Chinese or some fashionable Japanese words. During Parameswara's time, when two groups of traders without a shared language met, they would try many possible languages in order to best understand each other, and the result would be a pidgin or Rojak.
In the early 16th century, Portuguese visitor Tome Pires found in Malacca
"Moors from Cairo, Mecca, Aden, Abyssinians, men of Kilwa, Malindi, Ormuz, Parsis, Rumi [Turks living abroad], Turks, Turkomans, Christian Armenians, Gujaratis, men of Chaul, Dabhol, Goa, of the kingdom of Deccan, Malabars and Klings, merchants from Orissa, Ceylon, Bengal, Arakan, Pegu, Siamese, men of Kedah, Malays, men of Penang, Patani, Cambodia, Champa, Cochin China, Chinese, men from Liu Kiu [Formosa] and Brunei, Luzonese, men of Tamjompura, Laue, Bangka, Lingga (and in this area 1000 more Islands are known), from the Moluccas, Banda, Bima, Timor, Madura, Java, Sunda, Palembang, Jambi, Tongkal, Indragiri, Kappatta, Menangkabau, Siak, Arcat, Aru, Bata, from the country of the Tomjano, Pase, Pedir, from the Maldives."