Forum: Rails I18n Nested Sentance translation

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Richard S. (Guest)
on 2009-01-08 02: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??

  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
This topic is locked and can not be replied to.