Skip to content

i18n translation not working if "id" and "translation" are equal #2607

@martybr

Description

@martybr

Example en.yaml:
Working:

- id: "recent_blogs"
  translation: "Recent Blogs"
- id: "month_january"
  translation: "January"

Not working (translations are not found anymore, checked with --i18n-warnings):

- id: "Recent Blogs"
  translation: "Recent Blogs"
- id: "January"
  translation: "January"

Using: Hugo Static Site Generator v0.17

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions