@RequestMapping(value = "/events-all-languages", method = GET) public List<ContentLanguage> getAllLanguages() { return i18nManager.getAvailableLanguages(); }
@RequestMapping(value = "/events-supported-languages", method = GET) public List<ContentLanguage> getSupportedLanguages() { return i18nManager.getSupportedLanguages(); }
@RequestMapping(value = "/events/{eventName}/languages", method = GET) public List<ContentLanguage> getAvailableLocales(@PathVariable("eventName") String eventName) { return i18nManager.getEventLanguages(eventName); }