0 Replies Latest reply on Dec 17, 2013 9:48 AM by Imran Lakhani

    Web Form Validation Message Language Setting at Runtime when work in multi lingual environment

    Imran Lakhani

      Business Catalyst use the default culture language to display web form validation message.


      When we are in multi lingual environment and not using subdoamin to handle multilingual sites, we found that the validation message did appear in the default culture setting. To make this work, we need to add the below script in our template.


      <script type="text/javascript">


      var head= document.getElementsByTagName('head')[0];

      var script= document.createElement('script');

      script.src= '/BcJsLang/ValidationFunctions.aspx?lang=FR';

      script.charset = 'utf-8';

      script.type= 'text/javascript';





      Assuming the template is in french. You can change the lang parameter in the script according to your language.