I have tried to find the way to set different html template for each webform I have.
So I run into this empty issue - https://www.drupal.org/node/2169293
And try to use different approach like webform-mail-[nid].tpl.php and so.

I have also tried to set a new settings:
- module - Webform
- Key -> [key]
And then htmlmail--webfor--[key].tpl.php - Like mention in the documents but with no success.

Lucky for this time I have only 2 forms for each language so I set my htmlmail.tpl.php to:

<?php  
  global $language;
  if($language->name == "English"): ?>
    Some en html text
  <?php endif; ?>
  <?php if($language->name == "Hebrew"): ?>
    Some he html text
  <?php endif; 
?>

But this is only part solution for the main need.

Ant way, I will be happy to post this as a document if it's good enough as lets say "multi language forms"...

Comments

amirtaiar’s picture

Issue summary: View changes
amirtaiar’s picture

Issue summary: View changes
salvis’s picture

Status: Active » Closed (outdated)