New web content tool instructions are not properly translated

Description

The web content instructions are not translated, the code fragment is commented in PortletIFrame class slightly smiling face

/* 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;
}
*/

Attachments

2
  • 28 Jun 2013, 03:01 AM
  • 28 Jun 2013, 03:00 AM

Activity

Yuki Yamada June 28, 2013 at 3:29 AM

It is the same as SAK-23734.

Juanjo Meroño June 28, 2013 at 3:01 AM

Here is the patch.

Duplicate

Details

Priority

Affects versions

Assignee

Reporter

Created June 28, 2013 at 2:57 AM
Updated July 1, 2014 at 7:46 AM
Resolved July 15, 2013 at 6:01 AM

Flag notifications