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??

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs