private SortedProperties getLocalization ( Locale locale ) throws IOException , CmsException { if ( null == m_localizations . get ( locale ) ) { switch ( m_bundleType ) { case PROPERTY : loadLocalizationFromPropertyBundle ( locale ) ; break ; case XML : loadLocalizationFromXmlBundle ( locale ) ; break ; case DESCRIPTOR : return null ; default : break ; } } return m_localizations . get ( locale ) ; }
Reads the current properties for a language . If not already done the properties are read from the respective file .