Hi. I was trying to work on i18n support for my application using manual from rubyonrails.com but found some odd problems. After putting some code in application.rb, I get: $ script/localize Processing app/controllers/application.rb numeric literal without digits Code in application.rb is syntactically correct Ruby and executes without any problems or warnings. Even more -- it''s the same code as in the tutorial, so it probably isn''t a reason of a problem. And the exact same command was working just fine until I put any code into application.rb. I was trying to get this working with Ruby-GetText 0.8.1 and 0.9.0 but to no avail. If you can shed any light on this, please do. Thanks in advance. -- sdmitry -=- Dmitry V. Sabanin http://sabanin.ru
jmharvey.9956003-opCBI309nnGakBO8gow8eQ@public.gmane.org
2005-May-25 13:43 UTC
Re: I18N problems
Dmitry, Make sure you have a blank line at the end of the file. -- Josh --- rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org wrote: Hi.> > I was trying to workon i18n support for my application using manual> from rubyonrails.com butfound some odd problems.> > After putting some code in application.rb,I get:> $ script/localize > Processing app/controllers/application.rb > numeric literal without digits > > Code in application.rb is syntacticallycorrect Ruby and executes> without any problems or warnings. Even more-- it''s the same code as> in the tutorial, so it probably isn''t a reasonof a problem. And the> exact same command was working just fine until Iput any code into> application.rb. > > I was trying to get this workingwith Ruby-GetText 0.8.1 and 0.9.0 but> to no avail. If you can shed anylight on this, please do. Thanks in> advance. > -- > sdmitry -=- DmitryV. Sabanin> http://sabanin.ru > _______________________________________________> Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails>