[OSM-dev] Help needed to finish up things!!

Arindam Ghosh makghosh at gmail.com
Thu Jul 10 22:05:30 BST 2008


Hi all,


Well....as of now the globalize gels more or less well....but please
help me out in fixing the errors with click to globalize asap. I mean
webrick is crashing badly whenever i start it after installing click
to globalize plugin. I did different things...including trying
to port the rhtml to erb from this
http://railstips.org/2007/3/4/renaming-rhtml-to-erb ...didn't do much
good.

I read in the common issues at
http://lucaguidi.com/pages/click-to-globalize that "NOTICE: If you use
the Rails 1.2.3 scaffold system, Click To Globalize doesn't works.
Cleanup the code before to use." I guess there's the fix...but need
some advice how to do that precisely..some kind of conflict with edge
rails maybe.  Because until webrick starts up, i can't test anything i
do. As soon as it gets going, next steps seems comparatively
easier....just use of <%= 'some text to localize'.t %>  and also .loc
in the views and putting a check the only a logged-in user can
translate to round off things. I'm in the mid-way of globalization of
the views, and have commited some of them.....will try to finish
globalization of all the views will be done by tommorow. So, only
thing left is to figure out the problems with click to globalize
without which i cannot test the views. I actually require this because
this plugin provides for the locale change controller and an ajax
just-in-time editor for putting in the translations.

The errors occur just after installing click-to-globalize as given
here: http://makghosh.fedorapeople.org/osm/ctg-error.log

The tarball with the initial plugin installs and basic setups is over
here: http://makghosh.fedorapeople.org/osm/i18n-dev.tar.bz2
U: app/controller/application.rb
U: config/environment.rb

You see that how well it worked in the test app i started with before
the exams: http://makghosh.fedorapeople.org/osm/click.tar.bz2

And, earlier this week i was caught up in a bad problem
http://www.pastie.org/224759 due buggy security patches in
ruby-1.8.6-p230-3. TomH helped me out to resolve that somehow. I was
thinking database adaptor problem...but came out differently.



--Arindam


-- 

Arindam Ghosh
[http://arindamghosh.wordpress.com]

GPG Key: 0EE58920
Key Server: http://pgp.mit.edu




More information about the dev mailing list