Let's follow up this discussion at the Neptune Community

(this forum will be kept in read-only mode)
Answered

MessageToast - Translated message

Hi,


what is the right way to use translated messages with the 

sap.m.MessageToast.show() function?


regards

Markus


Best Answer

Hi Markus


The best way is to create a sap.m.Text element and use the text from that object into your message toast. Then the text can be translatable.


Example:



Regards

Ole Andre 


perfect!!

Answer

Hi Markus


The best way is to create a sap.m.Text element and use the text from that object into your message toast. Then the text can be translatable.


Example:



Regards

Ole Andre 


2 people like this
Login or Signup to post a comment