# Nested Sentance translation

**URL:** <https://www.ruby-forum.com/t/nested-sentance-translation/157164>\
**Category:** Rails I18n\
**Created:** [January 8, 2009, 1:17am UTC](https://www.ruby-forum.com/t/nested-sentance-translation/157164 "2009-01-08T01:17:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![indigoi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/b3f665/32.png) [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Post date:** [January 8, 2009, 1:17am UTC](https://www.ruby-forum.com/t/nested-sentance-translation/157164/1 "2009-01-08T01:17:58Z")

</div>

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