Forum: Rails I18n Nested Sentance translation

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
71ee1809f53df0a2b4dac0530f630933?d=identicon&s=25 Richard Schneeman (snowmaninthesun)
on 2009-01-08 01:17
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 topic is locked and can not be replied to.