NetTalk Central

Author Topic: PR38 Translate File-Drop options  (Read 3575 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
PR38 Translate File-Drop options
« 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



-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: PR38 Translate File-Drop options
« Reply #1 on: May 19, 2009, 12:29:58 AM »
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