Skip to main content
Solved

APIs and translated descriptions

  • March 25, 2025
  • 2 replies
  • 75 views

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

2 replies

Forum|alt.badge.img+6
  • Hero (Partner)
  • 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)
  • March 26, 2025

Perfect. Thank you, ​@Sanjaya!

 

Best regards