Skip to content

Comments

feat(customers): CUST-4055 Add backend based static translations for 4 fields on the account edit page#2606

Merged
bc-akshatkaushik merged 2 commits intomasterfrom
CUST-4055
Feb 12, 2026
Merged

feat(customers): CUST-4055 Add backend based static translations for 4 fields on the account edit page#2606
bc-akshatkaushik merged 2 commits intomasterfrom
CUST-4055

Conversation

@bc-akshatkaushik
Copy link
Contributor

@bc-akshatkaushik bc-akshatkaushik commented Feb 9, 2026

What?

Add backend based static translations for 4 fields on the account edit page

Currently these 4 four fields First Name, Last Name, Company and Phone are not translatable on this page based on backend provide i18n values for the fields based on storefront language. Instead these are only configurable via the theme lang files present in the repository

This change adds a check to validate if lang falls back to en.json default values when a localisation for the field cannot be found for the language files in the theme, in that case use the backend base i18n values which can offer automatic translations for a variety of languages.

Accompanying backend PR: https://github.com/bigcommerce/bigcommerce/pull/66656

Requirements

  • CHANGELOG.md entry added (required for code changes only)

Tickets / Documentation

Screenshots (if appropriate)

Screen.Recording.2026-02-09.at.10.09.22.pm.mov

Rollout/Release

Do not release/rollout until backend changes are propagated to Tier 3 (https://github.com/bigcommerce/bigcommerce/pull/66656)

@bigcommerce/team-customers

@bc-akshatkaushik
Copy link
Contributor Author

bugbot run

@cursor
Copy link

cursor bot commented Feb 9, 2026

Skipping Bugbot: Bugbot is disabled for this repository

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds conditional logic on the account edit form to prefer backend-provided field labels when the theme language helper appears to fall back to default English values, improving translation behavior for locales where theme translations are missing.

Changes:

  • Update account edit form labels (first name, last name, company, phone) to conditionally fall back to backend-provided labels.
  • Add a Draft changelog entry for CUST-4055.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
templates/components/account/edit-account.html Adds conditional label selection between theme lang strings and backend forms.edit_account.*_label values.
CHANGELOG.md Records the feature in the Draft section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bc-akshatkaushik
Copy link
Contributor Author

Will merge after https://github.com/bigcommerce/bigcommerce/pull/66656 reaches Tier 3

@bc-akshatkaushik bc-akshatkaushik merged commit 46d3891 into master Feb 12, 2026
1 check passed
@bc-akshatkaushik bc-akshatkaushik deleted the CUST-4055 branch February 12, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants