NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on May 14, 2009, 03:57:04 AM
-
Hi,
This new awsome feature does not work, the template does not make any change in the code with or without it checked.
May be more usefull if you set it to true by default or if it were "Do not Translate...
PS: Another place where it would be usefull to have a check like this is in the Display field Text.
Thanks
Alberto
-
Hi Alberto,
Seems to be working.
Make sure your Translate method checks the TranslateOff property though.
here's some sample code, which adds an "i" to the front of every thing. This goes in Webhandler, before the parent call.
if not omitted(2) and p_web.translateoff = 0
loc:string = 'i' & p_string
ReturnValue = PARENT.Translate(loc:String,p_AllowHtml)
RETURN ReturnValue
end
Obviously you replace the 2nd line with your translation code.
Cheers
Bruce