Translate string '0' and keyvalue/range mandatory check

Added mandatory validation to keyvalue/range object. and fixed translate string '0'