how to get localized form titles from form manager

Posted by Community Admin on 04-Aug-2018 12:52

how to get localized form titles from form manager

All Replies

Posted by Community Admin on 26-Jun-2012 00:00

Hi together,

(again) I'm struggling with the API regarding getting the wanted language information.

In our system we have forms that have two languages and thus an english and a german title. Querying the forms manager with

var x = formsManager.GetForms().ToList().Where(f =>
f.AvailableLanguages.Contains("de"));

works perfect for getting only the forms that have a german translation.

BUT: the FormDescription entries in the result set _always_ have the english title in the Title property.

How can I manage to retrieve the german content from the form entries?

Any help is greatly appreciated.

Alf

This thread is closed