Added setKey to translation class