I have changed the php code to make translations slightly easier to implement and manage.
You can now set the language in the server side program. There is a varaiable named $LANG:
You can either leave LANG blank OR assign a value to it within the program.
In either case, you can override it from the parameters as needed for the call, so you can mix the native output with your language of choice - gives the opportunity for a full mulitlingual page if you so wish !!
If instructed, it will attempt to translate everything that is not numeric, which also keeps it a little simpler !
BE WARNED - I have not tested the translation routine yet
I just threw the code in, it doesn't break the standard operation, and looks like it will work
I have added some Italian into the language lookup, and will develop that as I can handle that language OK
Once I have a full Italian translation working, I will publish a page showing that the routine works, in the meantime try it and see.
The new code is attached
ciao
