Skip to main content
Solved

APIs and translated descriptions


Forum|alt.badge.img+1

Hi!

I'm trying to get a descriptions in Swedish when I call an API such as:

/AccountsHandling.svc/AccountSet

The API user’s default language is set to Swedish. There are Swedish tranlations availablie for accounts in the system, but I still only get them in English.

Is there some setting or parameter I can pass to the API to select a different translation?

 

Best regards 

 

 

Best answer by Sanjaya

Language is controlled by the “Accept-Language” Header.

e.g.:

accept-language: en-US,en

 

Sanjaya

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

2 replies

Forum|alt.badge.img+6
  • Do Gooder (Partner)
  • 23 replies
  • Answer
  • March 25, 2025

Language is controlled by the “Accept-Language” Header.

e.g.:

accept-language: en-US,en

 

Sanjaya


Forum|alt.badge.img+1
  • Author
  • Do Gooder (Customer)
  • 3 replies
  • March 26, 2025

Perfect. Thank you, ​@Sanjaya!

 

Best regards 


Reply


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