public void setLanguage(String strLanguage)
    {
        Record recUserInfo = (Record)this.getUserInfo();
        if (recUserInfo != null)
        {
        	boolean flag = recUserInfo.getField(UserInfoModel.PROPERTIES).isModified();
        	boolean[] brgEnabled = recUserInfo.getField(UserInfoModel.PROPERTIES).setEnableListeners(false);
            ((PropertiesField)recUserInfo.getField(UserInfoModel.PROPERTIES)).setProperty(DBParams.LANGUAGE, strLanguage);
            recUserInfo.getField(UserInfoModel.PROPERTIES).setModified(flag);
            recUserInfo.getField(UserInfoModel.PROPERTIES).setEnableListeners(brgEnabled);
        }
        super.setLanguage(strLanguage);
    }
public void setLanguage ( String strLanguage ) { Record recUserInfo = ( Record ) this . getUserInfo ( ) ; if ( recUserInfo != null ) { boolean flag = recUserInfo . getField ( UserInfoModel . PROPERTIES ) . isModified ( ) ; boolean [ ] brgEnabled = recUserInfo . getField ( UserInfoModel . PROPERTIES ) . setEnableListeners ( false ) ; ( ( PropertiesField ) recUserInfo . getField ( UserInfoModel . PROPERTIES ) ) . setProperty ( DBParams . LANGUAGE , strLanguage ) ; recUserInfo . getField ( UserInfoModel . PROPERTIES ) . setModified ( flag ) ; recUserInfo . getField ( UserInfoModel . PROPERTIES ) . setEnableListeners ( brgEnabled ) ; } super . setLanguage ( strLanguage ) ; }
Set this property in the user's property area.
@param strLanguage The language code.