The following example defines a message that selects a pronoun based on gender:

To use this feature, pass the gender string as a parameter:

Keep in mind that when using select statements, comparison between the
parameter and the actual value is case-sensitive. That is,
AppLocalizations.of(context)!.pronoun("Male") will default to the
“other” case, and return “they”.

Escaping syntax

Sometimes, you have to use tokens, such as { and }, as normal characters. To ignore
such tokens from being parsed, enable the use-escaping flag by adding the following to l10n.yaml.

use-escaping

true

The parser ignores any string of characters wrapped with a pair of single quotes.
To use a normal single quote character, use a pair of consecutive single quotes. For example:

"helloWorld"

"Hello! '{Isn''t}' this a wonderful day?"