QuestionQ14

Adobe Experience Manager Sites

An Adobe Commerce developer must add text to an email template that supports translation.

Which two options should they use during implementation?

Choose two
  • A {{translations "Lorem Ipsum is simply dummy text of the printing"}}
  • B {{translations "%items items" items="numItems"}}
  • C {{trans "Lorem Ipsum is simply dummy text of the printing"}}
  • D {{trans "%items items" items="numItems"}}
Explanation

Adobe Commerce uses the {{trans ...}} directive to output translatable strings in email templates. It supports both a literal string and a string containing named placeholders with their corresponding parameters, such as items="numItems".

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!