private void view(HttpServletRequest request, ModelAndView next, WikiPageInfo pageInfo) throws Exception { String language = request.getParameter("language"); String filename = filename(request); SortedProperties translations = new SortedProperties(Environment.loadProperties("ApplicationResources.properties")); if (StringUtils.hasText(language)) { filename = filename(request); translations.putAll(Environment.loadProperties(filename)); } pageInfo.setContentJsp(JSP_ADMIN_TRANSLATION); pageInfo.setAdmin(true); pageInfo.setPageTitle(new WikiMessage("translation.title")); next.addObject("translations", new TreeMap(translations)); next.addObject("codes", this.retrieveTranslationCodes()); }