GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Node type help text will not display the translated version · Issue #7233 · backdrop/backdrop-issues

Node type help text will not display the translated version #7233

New issue
Copy link
New issue
Copy link
Open
Bug
backdrop/backdrop
#5361
backdrop/backdrop#5361
Open
Node type help text will not display the translated version#7233
Bug
backdrop/backdrop
#5361
Copy link
Labels
pr - needs code reviewpr - needs testingstatus - has pull request
Milestone
1.35.3

Description

@herbdool
herbdool
opened on Oct 23, 2026
Issue body actions

Description of the bug

The "Provide explanation or submission guidelines" option on a node type can be translated. It appears in the user interface translation, so that part is good.

But when on a node add or edit screen, it will not display that translated text.

Steps To Reproduce

To reproduce the behavior:

  1. Set up a second language (enable Locale, Language, etc), e.g. French.
  2. Add help / guidelines to a node type, e.g. "Page".
  3. Go to user interface translation and translate that help text.
  4. Visit add/page.

Actual behavior

Displays untranslated help text.

Expected behavior

Display translated help text.

Activity

  1. herbdool
    added the
    Bug
    issue type on Oct 23, 2026
  2. herbdool
    added
    status - has pull request
    pr - needs testing
    pr - needs code review
    on Oct 23, 2026
  3. herbdool
    added this to the 1.35.3 milestone on Oct 23, 2026
  4. herbdool commented on Oct 23, 2026

    @herbdool
    herbdool
    on Oct 23, 2026
    Author
    More actions

    I noticed that in node_add_page() it translates t($node_type->description) for display on the node/add page. In my testing, it won't display the translation of $node_type->help unless I also pass in the context, e.g. 'type:page:help. This is odd since the description also has a similar context but doesn't need it to be displayed.

    I was trying to figure out the mechanism of where these strings become available for translation. It's not because there's a _config_translatables array set for the node type. This must predate the introduction of that.

  5. herbdool commented on Oct 23, 2026

    @herbdool
    herbdool
    on Oct 23, 2026
    Author
    More actions

    @indigoxela would you have time to review/test this one?

  6. indigoxela commented on Oct 24, 2026

    @indigoxela
    indigoxela
    on Oct 24, 2026
    Member
    More actions

    The "Provide explanation or submission guidelines" option on a node type can be translated.

    🤯 it can? Wasn't aware of that in core.

    At first I thought, this overlaps with i18n, but apparently "help" isn't considered in the contrib module.

    I'm not entirely sure, if the order of filter_xss_admin() and t() is OK that way... I'm always a bit insecure when it comes to t() on variables.

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

    pr - needs code reviewpr - needs testingstatus - has pull request

    Type

    Bug

    Projects

    No projects

      Milestone

      • 1.35.3No due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.