Skip to content

[BUG] Configuration setting [(track_visitors)] and document-level hide_from_tree checkbox translation conflict #2351

@evolution-lover

Description

@evolution-lover

Description:

There is a translation conflict in the manager between the global system setting [(track_visitors)] (Visitor tracking/statistics) and the resource-level checkbox hide_from_tree (whether to show child resources in the document tree).

Image

The document editor template (manager/actions/mutate_content.dynamic.php) mistakenly uses the global setting's translation key track_visitors_title to label the hide_from_tree checkbox:

// manager/actions/mutate_content.dynamic.php
<span class="warning"><?=ManagerTheme::getLexicon('track_visitors_title');?></span>
...
<input name="hide_from_treecheck" type="checkbox" ... />

As a result, the translations for these keys were modified in several languages to describe the "document tree" feature, which broke the global [(track_visitors)] configuration field description. Depending on the language, this causes the following bugs:

  1. In English, Italian, Dutch, Polish, Azerbaijani:
    Both the Title and Description of the global system setting [(track_visitors)] in Configuration are wrong and describe showing child resources in the tree instead of visitor tracking.

  2. In Russian and Ukrainian:
    There is a mismatch in the global Configuration. The title of [(track_visitors)] says "Show child resources" (incorrect), while the description correctly explains visitor tracking for analytics.

  3. In German, French, Spanish, Czech, Danish, Finnish, Swedish, Portuguese, Hebrew, etc.:
    The global setting [(track_visitors)] displays correct labels. However, because of this, when editing any resource, the hide_from_tree checkbox (which controls the document tree) is labeled as "Visitor Logging" / "Activer le Suivi Statistique" / "Besucherprotokollierung" etc., which is completely incorrect and confusing for content managers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions