DEV Community

loading...
Cover image for Umbraco Forms and converting fields to translations nodes

Umbraco Forms and converting fields to translations nodes

garpunkal profile image Gareth Wright Updated on ・1 min read

I've developed a package that will convert form fields into translation fields, by simply clicking convert on the Umbraco Forms.

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

Nuget

Install-Package CarbonSixDigital.UmbracoFormsTranslations
Enter fullscreen mode Exit fullscreen mode




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




Umbraco Backoffice credentials

email: test@carbonsix.digital
password: >;#jRwxjg(

https://github.com/garpunkal/UmbracoFormsTranslations

Discussion (0)

pic
Editor guide