Punjab
The major language spoken in the Punjab is Punjabi. In the Indian Punjab this is written in the Gurmukhi script. Pakistan uses the Shahmukhi script, that is closer to Urdu script. Hindi, written in the Devanagri script, is used widely in the Indian states of Himanchal Pradesh and Haryana. Several dialects of Punjabi are spoken in the different regions. The Majhi dialect is considered to be textbook Punjabi and is shared by both countries.
Hindi in Pakistan
Before the partition of British India, Hindi was spoken in the region forming Pakistan by the Hindus and Sikhs residing there. It was taught across school and university levels, mainly in Punjab and Sindh. After the partition, most of these communities left for India; prominent Hindi writers with origins in Pakistan include Bhisham Sahni, Shailendra, Hullad Moradabadi, Uday Bhanu Hans, Narendra Mohan and others. Conversely, some first-generation Pakistanis who migrated from India during Pakistan's independence in 1947 were familiar with Hindi and the Devanagari script.