feat(condition): add support for language and resource attribute

related to CAM-2504