Skip to content

Translation Compliance Enforcement - Tracker #7429

@kushu30

Description

@kushu30

Context

With the merge of #7364, strict translation lint enforcement is now active in CI and pre-commit hooks. This surfaced existing inconsistencies across the repository that must now be remediated.

This parent issue tracks repository-wide translation compliance cleanup.


Scope

The linter has identified 32 affected files:

  • 28 files passing t as a prop/parameter instead of using useTranslation() locally
  • 1 file calling t() without useTranslation()
  • 3 files with missing translation keys
  • 4 files with multiple keyPrefix warnings

Enforcement Standard

The following rules are mandatory:

  • No component should receive t as a prop.
  • All components using translations must call useTranslation() locally.
  • All referenced keys must exist in the correct namespace.
  • keyPrefix usage must be unambiguous.

Execution Plan

Remediation will be handled through domain-grouped child issues and focused PRs to ensure:

  • Small, reviewable diffs
  • Minimal merge conflicts
  • Clear traceability

Domain groups will include:

  • AgendaFolder + AgendaItems
  • Tag and Organization-related components
  • Recurrence-related shared components
  • EventListCard modals and logic
  • Missing key additions
  • keyPrefix cleanup

All related child issues and PRs will reference this parent issue.


Completion Criteria

This issue will be closed when:

  • All flagged files comply with enforced rules
  • No t prop drilling remains
  • Missing keys are added
  • keyPrefix warnings are resolved
  • Translation checks pass cleanly in CI

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    cleanupRemove non-functional or unnecessary codeparentParent issueunapproved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions