public static LocalizationContext getLocalizationContext ( PageContext pc ) { LocalizationContext locCtxt = null ; Object obj = Config . find ( pc , Config . FMT_LOCALIZATION_CONTEXT ) ; if ( obj == null ) { return null ; } if ( obj instanceof LocalizationContext ) { locCtxt = ( LocalizationContext ) obj ; } else { // localization context is a bundle basename locCtxt = getLocalizationContext ( pc , ( String ) obj ) ; } return locCtxt ; }
Gets the default I18N localization context .