Archives for the month April, 2007

Aggiornato Wordpress (da 2.1 a 2.1.3)

Thursday, April 5th, 2007

Finalmente la buona novella che attendevo: l’ultima versione del plugin multilingua Gengo 0.9 compatibile con i recenti wordpress. Avevo WP 2.1 Ella, ho pensato: Ok, aggiorniamo Gengo… eh no no. Altra buona nuova era che Spam Karma 2 aveva anche rilasciato un’ultima release Gengo-compliant, quindi scarico anche SK2 2.3… ma(!) ho scoperto presto che «Gengo 0.9 funziona solo su WordPress 2.1.2 o superiore» e orsù aggiorniamo tutto il cucuzzaro!

Ed eccomi, scrivendo un nuovo post per testare quel che non funzionava su WP2.x di Gengo 0.8 (se vuoi leggi qui sulla non completa compatibilità della versione precedente) dopo che l’aggiornamento generale è stato -spero- compiuto senza intoppi.

Il problemone iniziale è stato, ancor prima dell’upgrade, riprendere il codice nuovo di Gengo e ri-modificarlo, visto che l’avevo pesantemente “craccato” per gestire la mia personale esigenza: determinare la lingua corrente in base al sotto-dominio e non in base a parametri in querystring e rewrite vari di url (quel pessimo /en/ o /it/ in coda a tutti i link del blog). Quindi ho direttamente uploadato la mia versione ritoccata (che impavido eh) e stupefacentemente funzionante… all’apparenza, ora vediamo…

Wordpress upgrade (2.1 to 2.1.3)

Thursday, April 5th, 2007

At last, the announcement I was waiting for: the latest release of the wp multilanguage plugin Gengo 0.9 compatible with recent wp release. I was running WP 2.1 Ella, I thought: Ok, let’s just upgrade Gengo… eh no no. Other good news was that Spam Karma 2 released a Gengo compliant version, so let’s download SK2 as well… but(!) I soon discovered that «Gengo only works for WordPress 2.1.2 or greater» so let’s upgrade the whole bunch!

And here I am, writing this new post also to test the working features of Gengo (you can read here my post about Gengo 0.8 not fully WP 2.1 compliant) after the whole upgrade is successfully -hope so- done.

My main trouble before upgrading was that I hacked heavily Gengo -as described in the post I just linked- to determine the language by subdomain and not by passing querystring parameter or rewrite-url (that awful /en/ or /it/, or whatever, trailing all links). So I had to study again the new gengo.php code, obviously changed specially where I touched it eheh. I upgraded directly my customised Gengo version (how brave) and it seems to work… let’s see…