A separate question is this: where are the good resources for XML on the web?
Thanks.
Dan
On Jan 16, 2004, at 4:18 AM, <lists@xxxxxxxxxxxxxxxxxxxxxx> wrote:
The advantage of doing it the way Dan describes is that it is very easy to set up an admin tool for the person doing the translating. Dan can fill up the English half of the db, and then write a page that queries the db for any empty Spanish entries, displays them in a select box, and allows the translator to enter the Spanish text in to the db. This way, when new English text is added, all the translator has to do is check the page, the new phrases will automatically be displyed.
The translator doesn't need any knowledge of HTML, and doesn't need to involve any other person to upload the text.
Maybe this can be done with XML as well, I don't know. But we recently used this system for a English/French site I worked on and it worked very well.
-Lisi
= = = Original message = = =
Forgive me if this is pedestrian or has been covered before. I'm new to the list and I haven't used PHP too much (yet).
Here's my question:
I'm looking to use PHP for an upcoming site project where the site needs to be in either English or Spanish. Would PHP be a good approach? I was envisioning having a database with every text bit and image with text in it in two columns, one for English, and one for Spanish. Then each web page would reference some kind of global variable (a cookie?) to determine whether to pull the images and text from the English
column or the Spanish column. Does this sound like a good approach? Is PHP capable of something like this?
Thanks for any help or suggestions you can give.
Dan Hewins
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
___________________________________________________________ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com.
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php