Created API that reads and updates the languages file