Duplicate
Details
Priority
MajorComponents
Assignee
Core TeamCore TeamReporter
Juanjo MeroñoJuanjo MeroñoLabels
Details
Details
Priority
Components
Assignee
Core Team
Core TeamReporter
Juanjo Meroño
Juanjo MeroñoLabels
Created June 28, 2013 at 2:57 AM
Updated July 1, 2014 at 7:46 AM
Resolved July 15, 2013 at 6:01 AM
The web content instructions are not translated, the code fragment is commented in PortletIFrame class
/* TODO: Make this work
if (locale != null){
// check if localized file exists for current language/locale/variant
String localizedFile = doc + "_" + locale.toString() + ext;
String filePath = getServletConfig().getServletContext().getRealPath( ".."+localizedFile );
if ( (new File(filePath)).exists() )
return localizedFile;
// otherwise, check if localized file exists for current language
localizedFile = doc + "_" + locale.getLanguage() + ext;
filePath = getServletConfig().getServletContext().getRealPath( ".."+localizedFile );
if ( (new File(filePath)).exists() )
return localizedFile;
}
*/