Hi there,
I just tried to print a custom entity as a PDF file and while that basically works as expected, I encountered a problem when it comes to localized option fields. I am using an external reference to a contacts salutionName that I want to appear in the pdf. For some reason only the english version is printed out (Mr. Simpson) while the system is configured to use the German translation (Herr Simpson). Is there something I can use inside the template to enforce a localization the field's value?
I just tried to print a custom entity as a PDF file and while that basically works as expected, I encountered a problem when it comes to localized option fields. I am using an external reference to a contacts salutionName that I want to appear in the pdf. For some reason only the english version is printed out (Mr. Simpson) while the system is configured to use the German translation (Herr Simpson). Is there something I can use inside the template to enforce a localization the field's value?
Comment