The API endpoint /editor/languages is only available for API role.
All users should be able to load the languages via /editor/languages