DEV Community

Cover image for Umbraco 8 - Umbraco Forms and converting fields to translations nodes
Gareth Wright
Gareth Wright

Posted on • Edited on

Umbraco 8 - Umbraco Forms and converting fields to translations nodes

I've developed a package that will convert form fields into Umbraco translation fields, by clicking the convert context button on the Umbraco Form. It'll allow you to have multilingual forms by utilising the Umbraco dictionary.

This package will allow you to convert an existing Umbraco Form to dictionary items. It will switch the existing fields to dictionary items, using the hash prefix.

Only fields populated will be converted.

Only the following field properties are converted:

  • Caption
  • ToolTip
  • Placeholder
  • Default Value
  • Invalid Error Message
  • Required Error Message

Screenshots

Umbraco Form Action

image

Fields before conversion

image
image

Fields after conversion

image
image

Translations

image
image

Dependencies

Flurl 2.8.2
Flurl.Http 2.4.2
Humanizer.Core 2.8.26
UmbracoCms.Core 8.11.1
UmbracoCms.Web 8.11.1
UmbracoForms.Core 8.6.0
Enter fullscreen mode Exit fullscreen mode

GitHub logo garpunkal / UmbracoFormsTranslations

An Umbraco Forms field translation generator

Top comments (0)