Get languages from the server.