if the text like this:
Text(
'Put something ${widget.profileA} might like'.tr,
),
Here is the code for the translation example:
class Language extends Translations {
@override
Map<String, Map<String, String>> get keys => {
'en_US': {
'Put something ${widget.profileA} might like': 'some translation',
};
};
}
My question is since there is a parameter ${widget.profileA}
in the text, is there a good solution to translate whole sentence with this parameter? thank you!