Solved

How to translate language in FME?


Badge +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

icon

Best answer by danilo_fme 11 March 2021, 01:32

View original

10 replies

Userlevel 4
Badge +30

Hi @hoa_le​ 

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

 

 

Thanks in Advance,

Danilo

Badge +5

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

Userlevel 3
Badge +13

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.

Userlevel 4
Badge +30

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.

Badge +5

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

Userlevel 4
Badge +30

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

Userlevel 4
Badge +30

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

Badge +5

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 :)

Userlevel 4
Badge +30

Thank you so much. I do it :)

Hi @hoa_le​ 

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

Badge +5

Thank you so much. I do it :)

Yes, thank for your supporting :)

Reply