Skip to main content
Solved

Custom event Error translation


Forum|alt.badge.img+4

Hello Everyone , 

 

Is the framework able to pick translation terms from a Custom event action of type PL\SQL ?

Example : 

 

BEGIN

     Error_SYS.Record_General('CustomerOrder','MYERRORTXT: My translatable Text  ' );

END;

 

What would be the translatable item path ?

 

Thank you , 

Best regards

Best answer by Dumeesha Wanigarathna

Hi @Simon L. ,

 

I doubt whether this is possible with language text translation facility. I checked the language text translation for the event and event actions and couldn’t find any clue. I would like to suggest a workaround until you get a definite answer for the raised question may be from another person.

 

You can try to get the session language and then add the error depending on that. See below. This will be useful when there’s no many number of translations to handle

 

BEGIN
IF Fnd_Session_API.Get_Language = 'en'
Error_SYS.Appl_General('CustomerOrderLine', 'WARNING: This is a warning message.');
END;

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

2 replies

Dumeesha Wanigarathna
Superhero (Partner)
Forum|alt.badge.img+16

Hi @Simon L. ,

 

I doubt whether this is possible with language text translation facility. I checked the language text translation for the event and event actions and couldn’t find any clue. I would like to suggest a workaround until you get a definite answer for the raised question may be from another person.

 

You can try to get the session language and then add the error depending on that. See below. This will be useful when there’s no many number of translations to handle

 

BEGIN
IF Fnd_Session_API.Get_Language = 'en'
Error_SYS.Appl_General('CustomerOrderLine', 'WARNING: This is a warning message.');
END;


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Partner)
  • 6 replies
  • August 17, 2021
Dumeesha Wanigarathna wrote:

Hi @Simon L. ,

 

I doubt whether this is possible with language text translation facility. I checked the language text translation for the event and event actions and couldn’t find any clue. I would like to suggest a workaround until you get a definite answer for the raised question may be from another person.

 

You can try to get the session language and then add the error depending on that. See below. This will be useful when there’s no many number of translations to handle

 

BEGIN
IF Fnd_Session_API.Get_Language = 'en'
Error_SYS.Appl_General('CustomerOrderLine', 'WARNING: This is a warning message.');
END;

Thank you @Dumeesha Wanigarathna .

Considering the limitation of the translation framework , this is a really good alternative.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings