NP_Text is used for this function. It's parse <%text%> tag to named constant. The same function is given by PageFactory class. For skin translation, both of them should be put togather into BaseActions and utilize the tag in whole context.
And for parsing <%text%>, skin's translation file is included if exists when parsing skin content.
These are applied at revision 1813.