Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2000 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Gents, is it possible to make Filemaker translate the foreign word and copy the translation into the specified field? 

Thanks!

Posted

One solution would be to use Google Translate und the 'Insert from  URL' function. The translation query can be used in the href.

Let's say you have the french word "salle de sejour", which you want to translate into englisch. This is href:

https://translate.google.com/#view=home&op=translate&sl=fr&tl=en&text=salle de sejour

translate&sl= fr&tl=en   => french-to-english

text= => your text to be translated

Extract the html result. Your result lays somewhere between

' <span class="tlid-translation translation" lang="en"> '

AND

' "</span>" '

 

Use cf 'getBetween' for extraction:

https://www.briandunning.com/cf/479

 

Posted

When the 'InsertFromURL' works, it's all about the getBetween extraction for the result snippet.

 

extract.png

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.