Skip to content

Spike: Test translate/locales feature in new Edit Contentlet mode against all field types #35534

@erickgonzalez

Description

@erickgonzalez

Research Question

Does the translate/locales feature in the new Edit Contentlet mode behave correctly and consistently with the old Edit Contentlet mode across all dotCMS field types?

Specifically:

  • When translating content, do all field types populate correctly when the "populate with source language content" option is used?
  • When translating content without population, do all field types start blank and accept input correctly?
  • Are there any field types that break, misbehave, or produce unexpected results during translation?

Timebox

2 days

(Note: the spike template cap is 8h — this task is estimated at 2 full days given the breadth of field types and scenarios to cover.)

Acceptance Criteria

  • Old Edit Contentlet mode explored hands-on and translate/locales scenarios documented (before testing the new mode, understand the reference behavior)
  • Test plan covering all dotCMS field types (as defined in com.dotcms.contenttype.model.field) posted as a comment on this issue — includes at minimum the two example scenarios below for each field type
  • Test plan reviewed and signed off by the Falcon team (feedback incorporated before execution begins)
  • All test scenarios executed against the new Edit Contentlet mode
  • Any bugs or inconsistencies found vs. old mode behavior are filed as separate GitHub issues with reproduction steps and linked back to this spike

Context

The new Edit Contentlet mode is a re-implementation of the content editing experience. The translate/locales feature allows users to create language versions of existing content. Before the new mode is considered feature-complete, the translate flow must be validated to ensure it matches the behavior of the old mode across every field type.

Example scenarios to cover (at minimum):

Scenario Steps Expected
Translate with population Content exists in English → Translate to Spanish → Populate with English content All fields populate with the English values; content can be saved without errors
Translate without population Content exists in English → Translate to Spanish → Do not populate with English content All fields start blank; user can fill them out and save without errors

Field type coverage: All field types defined in com.dotcms.contenttype.model.field must be tested. This includes (but is not limited to): TextField, TextAreaField, WysiwygField, DateField, DateTimeField, TimeField, CheckboxField, RadioField, SelectField, MultiSelectField, FileField, BinaryField, ImageField, CategoryField, TagField, KeyValueField, JSONField, RelationshipField, HostFolderField, CustomField, StoryBlockField.

Reference: When in doubt about expected behavior, the old Edit Contentlet mode is the source of truth. Do not hesitate to flag any behavior that looks inconsistent or unclear.

Links

Screen.Recording.2026-04-30.at.5.30.58.PM.mov

Metadata

Metadata

Assignees

Type

No fields configured for Spike.

Projects

Status

QA

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions