Skip to content

Cannot translate meta descriptions added via XML instructions.  #35191

Open
@ioweb-gr

Description

@ioweb-gr

Preconditions (*)

  1. 2.4.3-p1
  2. A custom controller
  3. A custom layout.xml with a meta description content
  4. 2 store views

Steps to reproduce (*)

In your layout.xml add a meta description like this

<meta name="description" content="my english content" translate="content" />

In your i18n/el_GR file for example add a translation for the content.

Incidentally I've tried adding the description like this

<meta name="description" content="my english content" translate="true"/>
<meta name="description" content="my english content" />

Neither way seems to work to make it translateable.

However the phrase is properly collected using i18n:collect-phrases

Expected result (*)

1.The content is translated

Actual result (*)

The content is not translated


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

Area: FrameworkIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: dev in progressReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itarea: localization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions