Hi Eduard, no, sorry. So far I'm not using globalize and didn't patched anything.
I guess, you have to redefined the method fetch() inside .../lib/ globalize/localization/db_view_translator.rb def fetch(key, language, default = nil, arg = nil) .... if num return result.sub('%d', num.to_s) else return arg.nil? ? result : result.sub('%s', arg.to_s) end end Maybe that's all. Thomas Am 23.08.2006 um 11:23 schrieb Eduard: > Hi, I have also same problem. > <%="%s has %d apples and %s has more".t / "Goran" /5 /"Mihai"%> > generates 3 strings into the DB and, if you replace Goran with Sven, > another 2 strings are inserted into DB. > And also if you add a translation for %s has %d apples and %s has more > for a specific language, then load the in to that language, the string > is added again. > > Did you solve the problem? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Railsi18n-discussion mailing list > Railsi18n-discussion@rubyforge.org > http://rubyforge.org/mailman/listinfo/railsi18n-discussion > --- Thomas Baustert - Freiberuflicher Softwarecoach fon: +49(40)411 622 35 mobil: +49(173)23 911 43 fax: +49(40)411 622 36 thomas.baustert(at)b-simple.de _______________________________________________ Railsi18n-discussion mailing list Railsi18n-discussion@rubyforge.org http://rubyforge.org/mailman/listinfo/railsi18n-discussion