Forms translations

Where can I put the translations for the forms in Neos? For example for “submit” or validation errors.

In my Settings.yaml I have the following code:

  Form:
    presets:
      default:
        formElementTypes:
          'Neos.Form:Base':
            renderingOptions:
              translationPackage: 'My.Package'

Where can I put my translation files to overwrite the original texts?

I use the amazing plugin neos/forms. Probably the texts are located in the file Main.xlf. Here is an example with a translation file:

Your settings.yaml looks good.

Your question: You have to use the same directory structure as in the neos/form package.

See here:

So if your package named “My.Package” and you want to override (for example) the german translations you have to add the translation files for German langauge in your package like:

My.Package/Resources/Private/Translations/de/Main.xlf