during deliberations for framing the indian constitution after india 's independence , adoption of an official language for the country was hotly debated , and a decision taken to adopt hindi as the official language of india with english continuing as an associate official language for a period of fifteen years .