In our new Angular 4 App we use the integrated i18n features to translate the application. Translation done while AOT compilation. General translation features are working well, but how do you handle the translation of Component-Inputs:
<accordion-group [heading]="model.type == 3 ? 'Heading 1' : 'Heading 2'">....<accordion-group>
We need to translate the [heading]. The code within the accordion-group is the same, so duplication is not an option.
So what is the best way to solve this issue?