Implement getTranslation for MixinBlockType and MixinItemType.