@RequestMapping(params = "action=postTranslation")
public ModelAndView postPortletTranslation(@RequestParam("id") String portletId,
@RequestParam("locale") String locale, ResourceRequest request) throws Exception {
final IPortletDefinition definition = portletDefinitionDao.getPortletDefinition(portletId);
if (definition != null) {
definition.addLocalizedTitle(locale, request.getParameter("title"));
definition.addLocalizedName(locale, request.getParameter("name"));
definition.addLocalizedDescription(locale, request.getParameter("description"));
portletDefinitionDao.updatePortletDefinition(definition);
}