Nested Sentance translation

I want to have a sentence that contains elements i already have
translations for.
I already have:
<%= t ‘nested’ %>
<%= t ‘be_cool’ %>

This is my sentance:
“This is an example of where nested translations would be cool.”

Is there anyway to have something like this in my yml file??

nested: “nested”
be_cool: “be Cool”
the_sentence_with_nested_elements: “This is an example of where
<%= t ‘nested’ %> translations
<%= t ‘be cool’ %>.”

Any help or insight is appreciated, If this isn’t possible…let me