NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on May 15, 2009, 09:14:52 AM

Title: Translation of Locate
Post by: Alberto on May 15, 2009, 09:14:52 AM
Hi,

The buttons are translated ok now!
Please, Translate the "Locate" string too.
May be directly in the code the template generates like:

  '<td>'& clip(p_web.site.LocatePromptText)& ' ' & clip(Loc:SortHeader) & ': </td>' &|

to

  '<td>'& clip(p_web.Translate(p_web.site.LocatePromptText))& ' ' & clip(Loc:SortHeader) & ': </td>' &|

Thanks
Alberto
Title: Re: Translation of Locate
Post by: Bruce on May 18, 2009, 10:56:24 PM
Hi Alberto,

done for the next build.

Incidentally, all the NetWeb methods, if the return a string, return a clipped string. So it's not necessary to have

clip(p_web.Translate(p_web.site.LocatePromptText))
because
p_web.Translate(p_web.site.LocatePromptText)

is already clipped.

Cheers
Bruce