By alexpott on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
11.x
Introduced in version:
11.3.0
Description:
Recipe's recipe.yml files can contain translatable strings. This functionality is provided by the new !translate YAML tag that is currently only supported by Recipes in the recipe.yml.
// Simple string
label: !translate 'Website feedback'
// String with translation context
message: !translate {string: 'Your message has been sent.', options: {context: 'Contact form'}}
Impacts:
Module developers
Site templates, recipes and distribution developers