As templates use very few text, y use variable arrays in javascript, indexed by a language variable that can be set by the user to select between different languages. Template grows a little compared to pure html,as i have to invoke document.write everywhere, but it's not slow. Template generation time is always short compared to the downloadtime , especially if the template includes images that are not already cached, or if there is some recursive or filter enabled.