Skip to main content
Solved

How to translate language in FME?


hoa_le
Contributor
Forum|alt.badge.img+5

Hi all,

I have a question about translating Vietnamese language to English in Excel file.

Could you show me how to translate it?

Thank you

Best answer by danilo_fme

Hi @hoa_le​ 

I created a test for your case:

 

1 - Account on the Google Translate API

2- Generate a Key for the project

3- Study the API to get the URL for translate language

4 - Creator transformer ( start workspace without a Reader ) instead your case - you need to connect the Excel file

5- Use the transformer HTTPCaller to connect the Google Translate API:

https://translation.googleapis.com/language/translate/v2?key={key-Project API Google}={Attribute your excel}&target={language to translate }&alt=json&source={ vietnan language}

 

HTTPCaller 

Thanks in Advance,

Danilo

View original
Did this help you find an answer to your question?

10 replies

danilo_fme
Evangelist
Forum|alt.badge.img+42
  • Evangelist
  • March 2, 2021

Hi @hoa_le​ 

I suggest you to use any API for translate language into FME ( using HTTPCaller transformer ).

 

 

Thanks in Advance,

Danilo


hoa_le
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • March 3, 2021
danilo_fme wrote:

Hi @hoa_le​ 

I suggest you to use any API for translate language into FME ( using HTTPCaller transformer ).

 

 

Thanks in Advance,

Danilo

Hi @danilo_fme​ ,

Could you share to me more details?

Thank you


kailinatsafe
Safer
Forum|alt.badge.img+21

Hello @hoa_le​ , I think the best API to try would be this one: https://cloud.google.com/translate/docs/basic/translating-text. However, I am not too sure how this would interact with excel. Hope this helps, Kailin.


danilo_fme
Evangelist
Forum|alt.badge.img+42
  • Evangelist
  • March 5, 2021
kailinatsafe wrote:

Hello @hoa_le​ , I think the best API to try would be this one: https://cloud.google.com/translate/docs/basic/translating-text. However, I am not too sure how this would interact with excel. Hope this helps, Kailin.

Hi @hoa_le​ thanks your suggest you.

 

I agree you about this API.


hoa_le
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • March 10, 2021

Hi, all

In my case, I have table Vietnamese. I want to translate English. I don't know how to make function.

Could you share to me? Thank you

vi


danilo_fme
Evangelist
Forum|alt.badge.img+42
  • Evangelist
  • March 10, 2021
hoa_le wrote:

Hi, all

In my case, I have table Vietnamese. I want to translate English. I don't know how to make function.

Could you share to me? Thank you

vi

Hi - Please share us the excel file.

 

Thanks,

Danilo


danilo_fme
Evangelist
Forum|alt.badge.img+42
  • Evangelist
  • Best Answer
  • March 11, 2021

Hi @hoa_le​ 

I created a test for your case:

 

1 - Account on the Google Translate API

2- Generate a Key for the project

3- Study the API to get the URL for translate language

4 - Creator transformer ( start workspace without a Reader ) instead your case - you need to connect the Excel file

5- Use the transformer HTTPCaller to connect the Google Translate API:

https://translation.googleapis.com/language/translate/v2?key={key-Project API Google}={Attribute your excel}&target={language to translate }&alt=json&source={ vietnan language}

 

HTTPCaller 

Thanks in Advance,

Danilo


hoa_le
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • March 11, 2021
danilo_fme wrote:

Hi @hoa_le​ 

I created a test for your case:

 

1 - Account on the Google Translate API

2- Generate a Key for the project

3- Study the API to get the URL for translate language

4 - Creator transformer ( start workspace without a Reader ) instead your case - you need to connect the Excel file

5- Use the transformer HTTPCaller to connect the Google Translate API:

https://translation.googleapis.com/language/translate/v2?key={key-Project API Google}={Attribute your excel}&target={language to translate }&alt=json&source={ vietnan language}

 

HTTPCaller 

Thanks in Advance,

Danilo

Thank you so much. I do it :)


danilo_fme
Evangelist
Forum|alt.badge.img+42
  • Evangelist
  • March 11, 2021
hoa_le wrote:

Thank you so much. I do it :)

Hi @hoa_le​ 

Thanks for feedback. I'm happy to help you!


hoa_le
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • March 12, 2021
hoa_le wrote:

Thank you so much. I do it :)

Yes, thank for your supporting :)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings