UserDefinedForm Translate Field Problem

silverstripe-4
Tags: #<Tag:0x00007f0825db1300>

#1

Hi,

I create a fields and enter their names, names are changing in the both forms(English-German) while i am trying to translate.

Translate Module (GitHub - tractorcow/silverstripe-fluent: Multi-language translate module for Silverstripe, without having to manage separate site trees.)
UserDefinedForm Module (http://github.com/silverstripe/silverstripe-userforms)

I am using these modules.

I am creating the form as standard UsedDefinedForm.


#2

With ss 3.x, fluent 3.x & userform 4.x this worked - duno SS 4.x ect. Anyway you need to add the FluentExtension to some Models like:

EditableFormField:
  extensions:
    - FluentExtension
EditableOption:
  extensions:
    - FluentExtension
UserDefinedForm_EmailRecipient:
  extensions:
    - FluentExtension

#3

Hi Lemi,

Which files should i add the models above?


#4

Hi friends,

I solved the above problem. The solution is as follows.
we are writing mysite/_config/fluent.yml


Name: mysitefluent
After: ‘#versionedfiles

SilverStripe\UserForms\Model\EditableFormField:
extensions:
- TractorCow\Fluent\Extension\FluentVersionedExtension
translate:
- Title
- Placeholder
- Default
- RightTitle
- ShowInSummary