|
Google Translator usando Wlanguage |
Iniciado por Boller, 14,jul. 2021 23:06 - No hay respuesta |
| |
| | | |
|
| |
Miembro registrado 4.549 mensajes |
|
Publicado el 14,julio 2021 - 23:06 |
Procedure Translate_Msg(sText is ANSI string, sLang_Target is string = "pt")
sKey is string = "" sURL is ANSI string = "https://translation.googleapis.com/language/translate/v2" sParam is ANSI string = "?target=" + sLang_Target + "&q=" + sText + "&key=" + sKey
vCallWS is httpRequest vCallWS.Method = httpPost vCallWS.URL = sURL + URLEncode(sParam) ResponseWS is restResponse = RESTSend(vCallWS) IF NOT Response_Verify(ResponseWS) THEN RESULT False END RESULT ResponseWS.Content
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/ |
| |
| |
| | | |
|
| | | | |
| | |
|