move getSupportedLanguages to utils