public void setLocale ( String locale ) { try { m_locale = LocaleUtils . toLocale ( locale ) ; } catch ( IllegalArgumentException e ) { LOG . error ( Messages . get ( ) . getBundle ( ) . key ( Messages . ERR_TAG_INVALID_LOCALE_1 , "cms:navigation" ) , e ) ; m_locale = null ; } }
Sets the locale for which the property should be read .