Forum: Rails I18n Nested Sentance translation

Posted by 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!!
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.