I have been working on a template for my university for a while. and so far its just been in English. A student approached me and asked me if it could also be used in Dutch, and that gave me an idea.
Using an YML document which contains the localization of all terms used in the document, the user can define their own language. It won't do anything to the text the user has written, but all words inserted by the template itself will switch to the chosen language.