[wplug] Page translation?

Gary Pitman gpitman at gmail.com
Fri Oct 6 17:46:29 EDT 2006


You could do that in perl or php, the ? is just telling the script that
these are the variable/value pairs that the perl/php script will need to
know what to do. They probably just include a text file based on the value
of the variable "lang" and determine the country from the requester's ip
address.

print "text.$lang"; #gives you the text of the file text.de <-over
simplified
The point being - they have static versions of text for each language and
display a choice based on the ip of the requester

This can be done with Apache php/perl, all open source and there is no
special configuration required to make the server pass the variables to the
script.



> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.wplug.org/pipermail/wplug/attachments/20061006/6e0b3223/attachment.html


More information about the wplug mailing list