Join us in Outworldz at or follow us:

[Table of Contents]

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Translator Translate_web_page_on_click  


Change the url="" to your blog or marketplace listing.

Category: Translator
By : Ferd Frederix
Created: 2012-09-16 Edited: 2012-09-16
Worlds: Second Life

the Zip file

Download all files for Translate_web_page_on_click
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Translate_web_page_on_click_1.lsl

This script by Ferd Frederix may be used in any manner, modified, and republished.  Unless specified otherwise, my scripts are always free and open source.  Objects made with these scripts may be sold with no restrictions.  All I ask is that you point others to this location should they ask you about it and to not sell this script, unless it is for $0 L. Please help improve my work by reporting bugs and improvements.

1 string url = "";
3 default
4 {
5 touch_start(integer total_number)
6 {
10 // lang="es"; // uncomment to debug, this is espanol, or spanish
12 lang = llGetSubString(lang,0,1);
13 if(lang == "" || lang == "en")
14 {
15 llLoadURL(llDetectedKey(0),"Information",url);
16 } else {
17 string url = "" + lang + "&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=" + llEscapeURL(url);;
18 llLoadURL(llDetectedKey(0),"Information",url);
19 }
20 }
21 }

Back to the Best Free Tools in Second Life and OpenSim.