added api for language detail