public Map<String, CmsJspResourceWrapper> getLocaleResource() {

        if (m_localeResources != null) {
            return m_localeResources;
        }
        try {
            CmsLocaleGroup localeGroup = m_cms.getLocaleGroupService().readLocaleGroup(this);
            Map<Locale, CmsResource> resourcesByLocale = localeGroup.getResourcesByLocale();
            Map<String, CmsJspResourceWrapper> result = Maps.newHashMap();
            for (Map.Entry<Locale, CmsResource> entry : resourcesByLocale.entrySet()) {
                result.put(entry.getKey().toString(), CmsJspResourceWrapper.wrap(m_cms, entry.getValue()));
            }
            m_localeResources = result;
            return result;
        } catch (CmsException e) {
            return new HashMap<String, CmsJspResourceWrapper>();
        }
    }
public Map < String , CmsJspResourceWrapper > getLocaleResource ( ) { if ( m_localeResources != null ) { return m_localeResources ; } try { CmsLocaleGroup localeGroup = m_cms . getLocaleGroupService ( ) . readLocaleGroup ( this ) ; Map < Locale , CmsResource > resourcesByLocale = localeGroup . getResourcesByLocale ( ) ; Map < String , CmsJspResourceWrapper > result = Maps . newHashMap ( ) ; for ( Map . Entry < Locale , CmsResource > entry : resourcesByLocale . entrySet ( ) ) { result . put ( entry . getKey ( ) . toString ( ) , CmsJspResourceWrapper . wrap ( m_cms , entry . getValue ( ) ) ) ; } m_localeResources = result ; return result ; } catch ( CmsException e ) { return new HashMap < String , CmsJspResourceWrapper > ( ) ; } }
Returns a map of the locale group for the current resource, with locale strings as keys.<p>

@return a map with locale strings as keys and resource wrappers for the corresponding locale variants