Merlin – Further tips for localizing an XSLT report template

In our last post, we’ve described how to localize the static texts in outputted XSLT reports. You need to open the Report.xslt file placed in the appropriate language lproj folder.

  1. What if, your lproj folder is not existing in the report template’s package?
  2. What if the appropriate language folder  does not contain an XSLT file just like the other lproj folders do?

1.Your lproj folder is not existing in the report template’s package

Merlin for Mac OS X contains localization files for the following 3 languages; English, French and German. That means, it can only run in one of those 3 available languages. If your Finder runs for example in Dutch and “Français” is set as second language in the order…

Merlin will start in French. In this case, when editing reports for *your* language you should edit the French.lproj folder. It won’t help creating an nl.lproj folder in the report package, as Merlin running in French won’t try to access all of a sudden localization files for another language…

2. Your lproj folder does not contain an XSLT file. How to localize this XSLT report?

This is the case for example in the XSLT report template “Next Due Activities” in the French localization and will also apply for a custom template created out of this report.

To localize this xslt report in French…

  • You simply copy the Report.xslt file from the English.lproj folder into the French.lproj folder  (English is the fall back language)
  • and edit the Report.xslt out of your French.lproj folder
  • Save your changes
  • Restart Merlin if it is running
  • Call Fichier > Nouveau Repport… > and select your report
  • It will show the just defined text strings

Adding a report option

See next blog post

 

 

 

19 thoughts on “Merlin – Further tips for localizing an XSLT report template

  1. Pingback: Merlin – Localize a Merlin report template » MacPM

  2. Pingback: Merlin – Adding an option in a report template » MacPM

  3. Pingback: Merlin – adding a property into an existing report » MacPM

  4. Pingback: Merlin – Adding a property into an existing python template » MacPM

  5. Pingback: Merlin – do a bit of magic in reports » MacPM

  6. Pingback: Merlin – do a bit of magic in reports – part III » MacPM

  7. Pingback: Merlin – do a bit of magic in reports – Part IV » MacPM

  8. Pingback: MERLIN – DO A BIT OF MAGIC IN REPORTS – PART VII » MacPM

  9. Pingback: Merlin – Do a bit of magic in reports – Part IX » MacPM

  10. Pingback: Merlin – Do a bit of magic in reports – PART XXI » MacPM

  11. Pingback: Merlin – Do a bit of magic in Merlin reports – PART XXII » MacPM

  12. Pingback: Merlin – Do a little bit of magic in Merlin reports – part XXVI » MacPM

  13. Pingback: Merlin – Do a little bit of magic in Merlin reports – part XXIV »

  14. Pingback: Merlin – Do a little bit of magic in Merlin reports – part XXV »

  15. Pingback: Merlin – Do a little bit of magic in Merlin reports – part XXV | MacPM

  16. Pingback: Merlin – Do a bit of magic in reports – Part IV | MacPM

  17. Pingback: Merlin – Do a bit of magic in reports – part III | MacPM

  18. Pingback: Merlin – Do a bit of magic in reports – part II | MacPM

  19. Pingback: Merlin – Do a bit of magic in Merlin reports – PART XXI | MacPM

Comments are closed.