Skip to content

Simplify translation files by using nesting #68252

Closed

Description

@bbovenzi

Problem:
We repeat a lot of our translation keys. This makes an ever larger surface area to maintain for every language. It can also introduce room for inconsistencies in how the same phrase is translated.

Solution:
Use nesting (docs) to reuse many of our keys.

One point to consider is making sure we can refer to translations in separate json files so that we can keep base concepts in common.json. But even starting with nesting translation keys inside of a single file would make our code much more DRY.

Activity

  1. added
    area:UI
    on Jun 8, 2026
  2. tanusattri commented on Jun 8, 2026

    @tanusattri

    Hi! I would love to work on this issue. Making the translation keys DRY using a nested structure and separating base concepts into a centralized file sounds like a great cleanup. Could you please assign this to me, and point me toward where the primary translation JSON files are located in the project?

  3. added
    kind:feature
    on Jun 8, 2026
  4. pranampagi commented on Jun 9, 2026

    @pranampagi
    Contributor

    Hi @tanusattri I was actually just looking into this too and I have a local fix ready using nested keys in common.json. Are you already actively working on a PR for this? If you haven't started yet, I'd be happy to push my branch up—but I don't want to step on your toes if you're already on it!

  5. tanusattri commented on Jun 10, 2026

    @tanusattri
  6. venkatamandavilli-code commented on Jun 17, 2026

    @venkatamandavilli-code

    Thanks for reporting this and for identifying the behavior around logical_date.

    Based on the reproduction steps, it appears that the DAG definition itself remains unchanged, but a dynamic value associated with TriggerDagRunOperator may be influencing the serialized representation used for DAG version calculation.

    From an operational perspective, DAG versions are most useful when they reflect meaningful changes to the DAG structure or configuration. If a runtime-generated value causes the version to increment on every execution, it becomes more difficult to use version history for deployment tracking, auditing, and troubleshooting.

    The fact that the behavior disappears when logical_date=None is specified seems like an important clue. It may be worth reviewing whether the operator's default logical date handling introduces a value that changes between parses and whether that value should participate in DAG serialization or version comparison.

    This seems particularly relevant for environments that make extensive use of TriggerDagRunOperator and rely on DAG version history to understand when actual workflow definitions have changed.

  7. added a commit that references this issue on Jul 2, 2026
    d161a49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:UIgood first issuekind:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions