DDS-GmbH / jocument

JVM based template engine for DOCX and XLSX.
MIT License
3 stars 1 forks source link

Allow using @Translatable on objects #171

Closed AntonOellerer closed 1 year ago

AntonOellerer commented 1 year ago

Up until now, the @Translatable annotation only worked on Strings and Enums. To be able to also specify more complex objects as translatable, the annotation is extended by an optional toStringMethod which is used to retrieve a string value to translate for those objects.

Merge after #170