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 Feb 12, 2026
Merged
Conversation
…4 fields on the account edit page
Contributor
Author
|
bugbot run |
|
Skipping Bugbot: Bugbot is disabled for this repository |
There was a problem hiding this comment.
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-alexsaiannyi
approved these changes
Feb 9, 2026
4eafbfa to
adc03e0
Compare
bc-amandalan
approved these changes
Feb 10, 2026
Contributor
Author
|
Will merge after https://github.com/bigcommerce/bigcommerce/pull/66656 reaches Tier 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Add backend based static translations for 4 fields on the account edit page
Currently these 4 four fields
First Name,Last Name,CompanyandPhoneare not translatable on this page based on backend providei18nvalues for the fields based on storefront language. Instead these are only configurable via the theme lang files present in the repositoryThis change adds a check to validate if
langfalls back toen.jsondefaultvalues when a localisation for the field cannot be found for the language files in the theme, in that case use the backend basei18nvalues which can offer automatic translations for a variety of languages.Accompanying backend PR: https://github.com/bigcommerce/bigcommerce/pull/66656
Requirements
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