Recent searches


No recent searches

Request: Language parameter for form and ticket API endpoints



Posted Feb 28, 2023

Hello!

We are planning on adding translations to our website. We use Zendesk forms that we fetch via the API. We have tried using dynamic content to translate the form fields. The problem is that we have not found a way to retrieve the correct translation depending on the locale of the website. We contacted your support and got it confirmed that it is not possible and that the API will only return the default language set in the Zendesk portal. 

What we would need is something like this:

/api/v2/ticket_forms/4412295082770?lang='se-sv'

/api/v2/ticket_fields?lang='se-sv'

If no language parameter is provided the default language will be returned.

We would really appreciate this feature. In the meanwhile, we will have to hardcode some translations into our form component. This is not ideal since it requires developers to update the texts.

Kind regards, Michaela 


0

1

1 comment

image avatar

Eric Nelson

Zendesk Developer Advocacy

Hey Michaela,

Would you mind posting this in our feedback section so that our product team sees it?

Thanks!

1


Post is closed for comments.

Didn't find what you're looking for?

New post