#5463·vendure

Dashboard: order line table column names are not translatable (missing `fieldName.*` keys)

Author: atistrcsnCreated Sep 30, 2026Updated Sep 30, 2026

Describe the bug On the order detail page, the order lines table (order-table.tsx, columns generated via useGeneratedColumns) shows English column names regardless of the selected dashboard language.

The column settings menu (data-table-view-options.tsx) and the headers of columns that have no custom header both use getTranslatedFieldName(column.id) from use-dynamic-translations.ts, which looks up the message id fieldName.<id>. None of the following OrderLine fields have such a key in src/i18n/common-strings.ts, so the lookup falls back to camelCaseToTitleCase English ("Unit Price With Tax", "Prorated Unit Price", ...) in every non-English locale:

  • productVariant
  • discounts
  • fulfillmentLines
  • unitPrice
  • unitPriceWithTax
  • proratedUnitPrice
  • proratedUnitPriceWithTax
  • quantity
  • orderPlacedQuantity
  • linePrice
  • lineTax
  • linePriceWithTax
  • discountedLinePrice
  • discountedLinePriceWithTax

Five of these columns (productVariant, unitPriceWithTax, quantity, linePriceWithTax, discounts) have a custom <Trans> header in the table, so for them only the label in the column settings menu is affected. For the other nine, both the table header and the menu label are untranslated.

To Reproduce Steps to reproduce the behavior:

  1. Set the dashboard language to a non-English locale, e.g. Hungarian or German
  2. Open any order's detail page
  3. Open the column settings menu of the order lines table
  4. See English column names such as "Unit Price", "Prorated Unit Price With Tax", "Discounted Line Price"; enabling hidden columns also shows English table headers

Expected behavior Column names in both the column settings menu and the table headers are shown in the selected language, like the fieldName.* keys already used for other list/table columns.

Actual behavior The 14 order line columns listed above show auto-generated English title-case names in every locale.

Screenshots/Videos N/A

Error logs None; this is a missing-translation issue, not an error.

Environment (please complete the following information):

  • @vendure/core version: 3.7.3
  • Nodejs version: n/a (not environment-dependent)
  • Database (mysql/postgres etc): any
  • Operating System (Windows/macOS/Linux): any
  • Browser (if applicable): any
  • Package manager (npm/yarn/pnpm): any

Configuration Default configuration; only the dashboard UI language needs to be non-English.

Minimal reproduction Reproduced on a stock dev server (current master, sqlite, dev:direct) with the steps above, using the Hungarian UI language.

Workaround A plugin with a dashboard extension can ship its own .po file (e.g. <plugin>/dashboard/i18n/hu.po) containing the missing fieldName.* entries with the #. js-lingui-explicit-id marker; plugin catalogs are merged after the core catalog. This has to be repeated for every locale in every project, though.

Additional context Suggested fix: add the 14 fieldName.* keys to the fieldName array in packages/dashboard/src/i18n/common-strings.ts, then run i18n:extract and fill in the locale .po files (same approach as #5443, which added fieldName.customerEmailAddress).

I'd like to submit a PR for this.