localizedString = localizer.localizedTemplateStringForKeyWithObjectOtherObject((String)valueForBinding("keyPath"), object(),valueForBinding("otherObject"));
localizedString = localizer.localizedTemplateStringForKeyWithObjectOtherObject((String)valueForBinding("templateString"), object(),valueForBinding("otherObject"));
    public String value() {        ERXLocalizer localizer = ERXLocalizer.localizerForSession(session());        String stringToLocalize = null, localizedString = null;        if(!hasBinding("templateString")) {            if(hasBinding("object") || hasBinding("keyPath")) {                Object value = null;                if(hasBinding("keyPath"))                    value = NSKeyValueCodingAdditions.Utility.valueForKeyPath(object(), (String)valueForBinding("keyPath"));                stringToLocalize = objectToString(value);            } else if(hasBinding("value")) {                stringToLocalize = (String)valueForBinding("value");            }            if(stringToLocalize == null && hasBinding("valueWhenEmpty")) {                stringToLocalize = (String)valueForBinding("valueWhenEmpty");            }            if(stringToLocalize != null) {                localizedString = localizer.localizedStringForKeyWithDefault(stringToLocalize);            }        } else {            localizedString = localizer.localizedTemplateStringForKeyWithObjectOtherObject((String)valueForBinding("keyPath"), object(),valueForBinding("otherObject"));        }        return localizedString;    }