Difference between revisions of "Multi-Language E-Mail Templates"

From AWBS Wiki
Jump to: navigation, search
m (Protected "Multi-Language E-Mail Templates" [edit=sysop:move=sysop])
 
Line 1: Line 1:
    * Create a file in the /includes/language/[some language directory] directory (example: testtemplate.inc)
+
* Create a file in the /includes/language/[some language directory] directory (example: testtemplate.inc)
    * Populate the file with your template text (same as in an email template edited and stored in the editor). You can use all the same %% variables.
+
* Populate the file with your template text (same as in an email template edited and stored in the editor). You can use all the same %% variables.
    * In your template file, you can specify a subject to use by enclosing it in tags (example: <subject>This is the subject</subject>)
+
* In your template file, you can specify a subject to use by enclosing it in tags (example: <subject>This is the subject</subject>)
    * Edit the existing template in the template editor in AWBS and specify the new template file (example: <file>testtemplate.inc</file>) All other text should be removed.
+
* Edit the existing template in the template editor in AWBS and specify the new template file (example: <file>testtemplate.inc</file>) All other text should be removed.
    * If the user has a language selected and there is a file in that language directory it will be pulled and parsed for the user
+
* If the user has a language selected and there is a file in that language directory it will be pulled and parsed for the user

Latest revision as of 13:18, May 8, 2010

  • Create a file in the /includes/language/[some language directory] directory (example: testtemplate.inc)
  • Populate the file with your template text (same as in an email template edited and stored in the editor). You can use all the same %% variables.
  • In your template file, you can specify a subject to use by enclosing it in tags (example: <subject>This is the subject</subject>)
  • Edit the existing template in the template editor in AWBS and specify the new template file (example: <file>testtemplate.inc</file>) All other text should be removed.
  • If the user has a language selected and there is a file in that language directory it will be pulled and parsed for the user