a simple method for templating and internationalization