Generic translation service
Currently, the code for translations in CodeValueServiceImpl
and CropTraitServiceImpl
looks very similar. There are a lot of duplicated things. It would be nice to move all that stuff to a single place.
We already use such an approach in the system, see BaseAttachmentSupport
, BaseActionSupport
. That approach works fine, so we can try something like that.