Localize a Notification
Create an Apex action that retrieves the buyer’s selected language.
-
From Setup, in the Quick Find Box, enter
Custom Code
, and select Apex Classes. -
Click New.
-
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.