Untranslated labels on customer order pages
@aheathgr ci sta già lavorando.
Dal 10/11/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- php
- Ambito
- internationalization
Direzione di ricerca
Read commerce_order_ui.module, commerce_order.module, commerce_customer.module, and config/views.view.commerce_user_orders.json to trace how the three labels are stored and rendered. Start by checking how Backdrop handles translations for existing field instance labels and View title and menu text. Done means identifying a supported way to translate or configure all three labels, including the locked field, and documenting or implementing the required change.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
On a German-language Backdrop CMS site migrated from Drupal 7, the customer order pages at /user/[UID]/orders/[order_id] display several labels in English:
- Orders
- Order total
- Billing information:
I have not been able to translate these labels through the interface translation UI.
Environment
- Backdrop CMS 1.35.2
- German-language site
- Migrated from Drupal 7
- Commerce enabled
Actual behavior
The labels remain in English on an otherwise German customer order page.
Additionally, the commerce_order_total field is locked, so its label cannot be edited through the standard field management UI.
Expected behavior
All customer-facing labels should be translatable or configurable through a supported mechanism, including labels belonging to locked system fields.
Relevant findings
The customer order detail route is provided by commerce_order_ui_menu() and renders the order using the customer view mode.
The labels appear to come from different sources:
| Label | Apparent source |
|---|---|
| Orders | Title and menu tab configuration of the commerce_user_orders View |
| Order total | Field instance label of commerce_order_total |
| Billing information | Field instance label of commerce_customer_billing |
Order total and Billing information
Commerce calls t('Order total') when creating the order total field instance.
“Billing information” is also translated when defining the customer profile type and then used as the order field’s label.
However, these labels are subsequently stored in the field instance configuration. Backdrop’s standard field rendering uses $instance['label'] directly as #title, without calling t() again.
This appears to explain why adding an interface translation later does not change an existing English field label.
For commerce_order_total, the field lock also prevents changing the label through the standard UI.
Orders
The default commerce_user_orders View contains “Orders” in its title and menu configuration.
I have not yet established why the translation does not apply on my installation.
Questions
- What is the intended way to translate existing Commerce field labels in Backdrop?
- How should administrators translate the locked “Order total” field?
- Is additional configuration required for the “Orders” View title/menu tab?
- Could migration or field creation before translations were available explain the stored English labels?
Relevant source files
- Lingua principale
- PHP
- Stelle
- 3
- Fork
- 7
- Merge medio
- 22m
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di backdrop-contrib/commerce
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 89/100
backdrop-contrib/commerce#65 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
backdrop-contrib/commerce#29 · 2 commenti ·
Tutte le issue di backdrop-contrib/commerce
Issue simili
-
backend enhancement good first issue php
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Evalogical-Inc/devReady#66 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
mollie/PrestaShop#1627 ·
I maintainer di solito rispondono entro 5 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
FriendsOfFlarum/follow-tags#118 ·
-
WebP — PHP 8.5 deprecation "Using null as an array offset" in url_to_path() for relative image URLsAperta✨️ai-candidate effort: [XS] module: webp cache priority: low type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno