Skip to content

Check field data falsely reports translation properties as unused when user language is not English #2101

Open
@feuerziege

Description

@feuerziege

Description

In a multilingual ProcessWire setup, the “Check field data” action may incorrectly report translation-related properties like labelXXXX or descriptionXXXX belonging to languages other than the current admin user language as unused. Properties related to English are never reported as unused.

Steps to reproduce

  1. Set up a multilingual ProcessWire installation, either by:
    • Using the Multi-Language Site Profile, or
    • Starting from a minimal setup and enabling the core modules LanguageSupport and LanguageSupportFields.
  2. Ensure that at least two languages are configured (e.g. English and German).
  3. Edit any field and define a label or description in one of the secondary languages.
  4. Set your admin user’s language to something other than English.
  5. Go to Setup → Fields → [Field] → Actions → “Check field data”.

Actual behavior

The check reports translation properties like labelXXXX or descriptionXXXX belonging to languages other than the current admin user language as unused, even though they are actively in use. Properties related to English are never reported as unused.

Expected behavior

Used translation properties should not be flagged as unused, regardless of which backend language is currently active.

Additional notes

  • The issue does not occur when English is the active backend language.
  • Reproducible in both fresh minimal setups and with the official multi-language site profile.
  • English does not need to be the default language for the issue to appear — it only needs to be inactive as the current user language.
  • Translation properties such as labels and descriptions for non-English languages other than the current admin user language are falsely reported as unused.

Tested on

ProcessWire 3.0.246

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