主权项 |
1. A computer-implemented method for providing a preview of an email template, the method comprising:
receiving, at a computer, a request from a user of the computer to preview an electronic document (e-document) template; invoking a content of the e-document template, wherein the content includes a placeholder for a variable; determining, by the computer, a correspondence language of the user; identifying, by the computer, a markup language element for the placeholder in the e-document template; determining, by the computer, a descriptive name for the identified markup language element by invoking metadata information pertaining to the place holder, and based on the metadata information, deriving the descriptive name associated with the identified markup language element for the placeholder in the correspondence language of the user; replacing the markup language element for the placeholder with the selected descriptive name; and rendering a preview of the e-document template. |