Skip to content

docs: document locale field in REQUEST_USER_DATA_RESPONSE - #355

Open
ritvikmunjal19 wants to merge 1 commit into
mainfrom
docs/custom-page-locale
Open

ritvikmunjal19 wants to merge 1 commit into
mainfrom
docs/custom-page-locale

Conversation

@ritvikmunjal19

Copy link
Copy Markdown

Summary

Custom page iframes now get the user's active HighLevel UI language in the REQUEST_USER_DATA_RESPONSE postMessage (GoHighLevel/ghl-crm-frontend#13374). This PR documents that in the User Context guide.

  • Adds a table of the REQUEST_USER_DATA_RESPONSE fields: message, payload, locale
  • locale is a hyphenated code (e.g. en-US, pt-BR), or '' when it is missing or invalid
  • Adds a short example of using locale to match the HighLevel UI language, with a fallback default
  • Notes that locale sits outside the encrypted payload, so apps should treat it as a display preference and never use it for authorization

The change is additive. Apps that don't read locale are unaffected.

🤖 Generated with Claude Code

@orca-security-us orca-security-us Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

…pages

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Harness: claude; session=e39452df-32b4-4b1c-bc4a-886683ff5fdd
@ritvikmunjal19
ritvikmunjal19 force-pushed the docs/custom-page-locale branch from 487f793 to 9ad0605 Compare November 12, 2026 11:39
@code-quality-gates

Copy link
Copy Markdown

Quality Gate Results

⚠️ 1 Warning(s) — non-blocking, please review
✅ 5 Passed

⚠️ Warnings (non-blocking — worth reviewing)

  • dependency_license_check (1 item) — detailed results (inline comments only on changed lines) · 📖 docs

🔍 View detailed quality gate results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants