Update 101: “The magic has begun”

All these days i was continuously working setting up the infrastructure ready, doing custom setups and testing things for the i18n of openstreetmap, more precisely setting up internationalization in rails which will comprise a major chunk of my gsoc project.

I started off by setting up an osm local install on my desktop earlier this month. That was something because there different set of things to look after and configure each of them properly. I got little stuck with the mod_tile thingy…the configs. I just couldn’t find where was some hard-coded paths renderd daemon was trying to access. Thanks to TomH & Alex, for mentioning about gen_tile.cpp. I thought all of these paths should be placed in render_config.h and even made a patch of it (to ease my work) but later learnt and/or realized that they are meant to serve some greater purpose like module options actually.

So, crossing all this, when rails together with mapnik powered on for the first time i was awestruck. I just wanted to laugh…whew!! Then after some discussions with my mentor Mikel Maron, we looked up at the different options available. He gave me a comparative study of different ways to internationalize rails. I kinda liked two amongst them namely, globalize-rails and ruby-gettext (which i had proposed earlier). So as planned, I somewhat did some quick hacky test setups to test both of them. Though they weren’t free of problems, but as of now, i simply like the robustness of globalize combined with click-to-globalize plugin. Also the the fact that globalize currently supports more languages give it a plus. Sven Fuchs has written some really cool tutorials….thanks to him because i don’t know for some reason whatsoever i’m not getting the www.globalize-rails.org. Anyway, the current state is i’m trying to setup globalize in the rails_port of osm now. Its’ bound to have lots’ of problem…need to fix them. Another concern is that about the translators’ accounts. Whether it will be wiki-like so that anyone can put up translations or the traditional translation groups somewhat moderated. Though this will come at a later stage.

In the meantime, i actually upgraded my desktop to an E8200 2.66 GHz proc. + DG33FB motherboard + 2 GB combination and its’ showing some real power. So, another ordeal that came up of nowhere was shifting the entire setup to the new hdd. It made me remember of the osm vmware image that Milo van der Linden talked about in the early stages of the project. There was some real hike in the rendering speed compared to my 5-yrs old celeron 1.7 GHz mobo.

But now, my 6th semester exams are scheduled from 3rd-13th of June and i’m really getting low working hours now 😦 I will also put up a wikipage regarding i18n sooner than later. Loads of work still left…

Among other news, my activity oriented tutorials are up on the edu.kde.org …lots of thanks to Anne Marie (annma) for putting them up. I just love the logo guy pointing to the tutorials. Hopefully, i’ll try to put more of them. And more recently Debayan from NIT-DGP has put up the 3rd ntp pool server for India (with my WBUT starting the spur as always). I can now three ntp servers in http://www.pool.ntp.org/zone/in.

Update: Also as a matter of fact, globalize-rails now supports much more languages compared to ruby-gettext. And when combined with click-to-globalize plugin, i can see that we can even actually chip in translations from a WebUI….which is pretty cool 🙂

Advertisements

5 responses to “Update 101: “The magic has begun”

  1. Awesome – keep up the great work 🙂

  2. But why aren’t you telling us more about this good work ? 🙂

  3. yeah yeah….i will put more about this….right now exams are going on and theory ones will end only by June 13, its’ a tight schedule 😦

  4. Subhodip Biswas

    why are you posting same post again and again .. without any updates .. or is this a problem with your feed ????

  5. On my blog it is posted only once dude!! you can check the timestamps here (May 30) 🙂 Also the feed from here seems to be okay. wordpress does not allow me to edit feed.xml and i don’t need to do it even. As for the planets, site/feed/ format works very well. atom did create some problem in planet fedora but that’s prolly a bug in planet code. Google reader parses the feed damn properly.