I''m using the Localization plugin and I''m having trouble figuring out how to localize the values of a helper tag. For instance, how do I get Localization to work on this tag? <%= submit_tag ''Stuff in English'' %> I assumed it would be <%=_ submit_tag ''Stuff in English'' %> But that doesn''t work. I''ve tried a number of permutations but I''m obviously missing something basic. Thanks! -z
You probably want: <%= submit_tag _(''Stuff in English'') %> -Thomas Am 27.05.2006 um 05:26 schrieb Zack Hubert:> I''m using the Localization plugin and I''m having trouble figuring out > how to localize the values of a helper tag. For instance, how do I > get Localization to work on this tag? > > <%= submit_tag ''Stuff in English'' %> > > I assumed it would be > > <%=_ submit_tag ''Stuff in English'' %> > > But that doesn''t work. I''ve tried a number of permutations but I''m > obviously missing something basic. > > Thanks! > > -z > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails