PDA

View Full Version : Can this be done?


Bretteville
02-03-2006, 12:24 AM
This is what I want to do:

On http://en.domain.com/ I have an installation in English with an English description of the photo.
On http://es.domain.com/ I have an installation in Spanish with a Spanish description of the photo.
On http://ru.domain.com/ I have an installation in Russian with a Russian description of the photo.

Can this be done using the same database, and without having to post the same photo for each site?

Or is it possible to use the same database and prefix for the photos, comments and description, but have either a separate database or different prefix for the rest?

se.nsuo.us
02-03-2006, 03:44 AM
This functionality cannot be achieved without a lot of modification but I would say the way to go about would be having tables which are prefixed with languages and then change the code to add the prefix of the language depending upon the domain

emil
02-03-2006, 06:11 AM
Why not
{language}
bodytext
{endlanguage}
{nextlanguage}
bodytext
{endlanguage}

In the boxytext column and then something like this: "/\{language\}(.+?)\{endlanguage\}/"? Should be pretty easy to build.

GeoS
02-03-2006, 09:02 AM
All is possible but needs additional work which doesnt have to be our (Dev Team) philosophy of developing Pixelpost.

Joe[y]
02-04-2006, 09:52 AM
perhaps ask this question here: http://www.geoglyphe.com/

this pp user seems to be doing what you describe. though it is possible they are simply running 2 installations of pp and just uploading same images and descriptions.