1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / how to get localized form titles from form manager

how to get localized form titles from form manager

1 posts, 0 answered
  1. Christian
    Christian avatar
    3 posts
    Registered:
    19 Jan 2012
    26 Jun 2012
    Link to this post
    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
1 posts, 0 answered