Localize a Notification

Create an Apex action that retrieves the buyer’s selected language.

  1. From Setup, in the Quick Find Box, enter Custom Code, and select Apex Classes.

  2. Click New.

  3. Write an Apex action with an invocable method that retrieves the language that the user chooses.

You can use this code in your Apex action.