MailingList


A suggestion to multiple variabels in a string

by Kristian Hellquist-2 :: Rate this Message:

Reply to Author | View in Thread

Hello users

I have an idea about multiple variables in a string that will be translated.

It uses context-variables so it's both easy for the translator to
understand what he is translating and it gives you the opportunity to
have more than one string-replacement in each strings.

"[username]'s blog posts tagged as [tag]").insert_copy(
@attachable.screen_name, @tag.value)

I have read thru the tutorials but haven't found anything similar. I
am also a new user of globalize rails so I might lacking some basic
knowledge about this.  Please come with some feedback!


More info in http://trac.globalize-rails.org/trac/globalize/ticket/195

Cheers,
Kristian

 « Return to Thread: A suggestion to multiple variabels in a string