1. A computer-implemented method of generating a translation markup language text template in a source language, the method comprising: identifying a variable text element in a source language text string by at least one translation tool residing in at least one of a client computer and a server computer; analyzing the variable text element to identify a context type and assign a first predefined symbol to the context type of the variable text element; identifying a grammatical rule for the variable text element; assigning a second predefined symbol to the variable text element based on the identified grammatical rule; determining whether to assign supplemental information to the variable text element, wherein the first predefined symbol, the second predefined symbol, and the supplemental information if assigned represent a token; and assigning supplemental information to the variable text element when it is determined that the supplemental information is needed to accurately expand the token.