Business rule Add Message Language support

hetaldoctor
Kilo Expert

Hi

I have created a business rule which validates that certain fields are populated while updating a record

I have selected the checkbox Add Message and put message in the field provided

I was wondering if I can provide language support on the message using this feature

I need to add message in English and Spanish

All ideas and experiences are welcome

Regards

Hetal

2 REPLIES 2

akashsrm100
Kilo Guru

var spmsg='pedí­ a varias empresas que me hicieran un presupuesto de or me presupuestaran la obra';


var enmsg='Hi how you doing';


  if(currrent.user.language=='spanish')


  {


  gs.addInfoMessage(spmsg);


  }


  if(currrent.user.language=='en')


  {


  gs.addInfoMessage(enmsg);


  }



Thanks


Akash Sharma


Hi Akash


Thank you for your response.


This is using script


We can achieve it using Message functionality where we can configure the message for different languages


But I was wondering if I can achieve this without using any script


Regards


Hetal