Simple implementation of legend names translation