Peter Körner wrote:
thing that needs to be changed is the table-prefix (from planet_osm_ to view_de_planet_osm_ or so). This can be done in the settings.xml, so we'll need a bunch of settings.xmls and a bunch of osm.xmls, right?
Correct. Also, the few settings includes (which are in svn with the .example suffix) won't be touched by svn, so updating the stylesheet from svn should be transparent*.
Probably easiest is to checkout the stylesheet in a directory, and have a script that copies all osm.xml and inc/*.xml to various other directories, one per wiki language, and customize the settings.xml.inc with the correct &prefix; entity for your view.
* Barring any future changes to the settings, such as the definition of newer settings entities. You could test the structure of the stylesheet after an svn up, before you copy it over to the language dirs.