Regarding to translatioms, I have recently been creating a multilingual IRC bot; i've found the best way of translating strings in python consists on saving files with python dictionaries (arrays with strings instead of integers) inside (then parsed using eval() ). The structure I've used is the following.

{
 'notfound': {'ca': u'No s'ha trobat la cadena de text',
                  'es': u'No se ha encontrado la cadena de texto',
                  'en': u'Couldn't find the string'
                 }
}

Maybe a similar approach could be taken with PHP, even though I have no idea.

By the way, see http://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2011/Tools for tooling.

Hope this helps,

Joan.

2011/3/29 Nuno Tavares <nuno.tavares@wikimedia.pt>
I think we should think about developing all tools with a separate
language file, so translation can be ran in paralell.

Mine have been using a "label" for strings and a _T() function to fetch
the translated string. Something like mediawiki.

Not sure how much could be reused between different tools.


--
Nuno Tavares
Wikimedia Portugal
http://www.wikimedia.pt

Imagine um mundo onde é dada a qualquer pessoa a possibilidade de ter livre acesso ao somatório de todo o conhecimento humano. É isso o que estamos a fazer.

Participe também: http://www.wikimedia.pt


Seg, 2011-03-28 às 12:22 +0200, GoEthe.wiki escreveu:
> We had the same problem for the Portuguese coordinates that were in
> IGeoE Hayford Gauss format, a national format, but I used ArcGIS to
> transform the coordinates, which seems to be accurate. If anybody else
> needs to convert coordinates, just send them to me (preferably in
> DBase IV format, but Excel is also ok) and I will return them in WGS84
> format.
>
> By the way, check http://wlm.wikimedia.pt/monumentos.php for our
> monuments map.
>
> Best,
> Gonçalo
>
> 2011/3/28 Vicenç Riullop <vriullop@hotmail.com>
>         Wikimapia has some buildings geolacated. Not a solution, but
>         it may help in some cases.
>
>         A problem we have encountered is that local administrations in
>         Spain are using coordinates in UTM ED50 format. We use a
>         spreadsheet to convert them into GPS format, but it is not
>         precise enough for landmarks. Geohack does not have UTM ED50
>         format.
>
>         http://wikimapia.org/
>         http://en.wikipedia.org/wiki/ED50
>         http://www.uwgb.edu/dutchs/UsefulData/UTMFormulas.HTM
>
>         Vicenç
>
>
>
>         > Date: Mon, 28 Mar 2011 11:11:33 +0200
>         > From: andre@molens.org
>         > To: wikilovesmonuments@lists.wikimedia.org
>         > Subject: Re: [Wiki Loves Monuments] Coordinates tools &
>         pan-European sponsorship
>
>         >
>         > On Mon, Mar 28, 2011 at 09:32:58AM +0200, Edo de Roo wrote:
>         > >
>         http://toolserver.org/~multichill/coordinates.php?type=empty&region=empty&template=Location
>         > >
>         > > This is the coordinates tool that is used on the Dutch
>         wiki.
>         > > It generates the code for the wiki-template, by picking a
>         place on the map.
>         > >
>         > > I hope this helps us all out..
>         >
>         > I am currently working on improving this one. My current
>         version will do
>         > any changes you do directly to the generated template, so
>         you don't need
>         > to click the coordinate again, and with help of Dispenser,
>         the maintainer
>         > of the geohack tools, it can select the region
>         automatically. I will move
>         > this version shortly to multichill's version.
>         >
>         > If we should support other templates for other wiki's, I can
>         look into that
>         > as well. For the auto-edit tools to work, some javascript
>         should be
>         > installed on that wiki, but then I can add it to the list.
>         >
>         > I am thinking of moving this to a project account on the
>         toolserver, so
>         > if others are willing to help with this, let me know.
>         >
>         > Regards,
>         >
>         > Andre
>         > >
>         > > Edo
>
>
>
>         _______________________________________________
>         Wiki Loves Monuments mailing list
>         WikiLovesMonuments@lists.wikimedia.org
>         https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
>         http://www.wikilovesmonuments.eu
>
> _______________________________________________
> Wiki Loves Monuments mailing list
> WikiLovesMonuments@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
> http://www.wikilovesmonuments.eu


_______________________________________________
Wiki Loves Monuments mailing list
WikiLovesMonuments@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
http://www.wikilovesmonuments.eu