One template, many languages: how to make a SwiftReports template print in different languages. Each piece of fixed text becomes a translation key, and the PDF uses the text for the reader's language.
In this video:
- Open Translations and add the template's default language
- Use Convert literal text to turn the heading and table headers into keys automatically
- Add a second language (de-DE) and type in the translations
- Preview the canvas in de-DE to check the layout still fits
- See how Preview with Sample Data, processes and the template's Swift Configuration choose the language
- Switch the canvas back to Keys to see which text is translated
Next: SwiftReports - Tour 11 - SwiftDialogs: reports from a button
