Apply further improvements from Craig McDonnell

This fixes the class that implements ResourceAttribute,
and adds a translation.json that works for me
with OpenAM 12.0.0 RC3.