Language output of deserialize json changes

Hi

I’m experiencing a strange thing.

Doing a REST call from Chrome gives me a raw message that can be deserialized and the output gives this

image

After deserialization the output changes to danish
image

The issues is that I to some IF statements on HeaderDocumentType = “Order”, and the expression fails as it suddenly changes to Ordre instead of Order?

How can I prevent the translation? is it server based or coming from Studio?

@Michaeljep

I believe it is coming from server

as studio in itself would not change the values

one think you can try is if you know what language it would come in always…then may be use a language model and translate them

cheers

it’s happening because some kind of language localization is applying to your Output

“FYI Below point could be an issue”
Chrome Localization Settings: Chrome might be configured to automatically translate web page content based on your browser language preferences
Server-Side Localization: The server responding to your REST call might be dynamically translating content based on some configuration

You also check with your API provider for this

It turned out that you both were right, the output language on server side was changed without notification, therefor I suspect Chrome to actually change the language back to Eng instead of displaying the response as it was received.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.