Multi-Language E-Mail Templates

From AWBS Wiki
Jump to: navigation, search
  • 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