Skip to content

Conversation

@epeicher
Copy link
Contributor

@epeicher epeicher commented Jan 8, 2026

Summary

  • Add locale parameter to /studio-app/blueprints endpoint call to support translated blueprint descriptions
  • Pass user's configured locale from the i18n store to the blueprints API query

Changes

  • Modified getBlueprints query in wpcom-api to accept optional locale parameter
  • Updated blueprint fetching in add-site flow to pass current user locale
  • Ensures blueprint descriptions are returned in the user's configured language

Test plan

  • Verify blueprints load correctly with default locale (English)
  • Change language in settings and verify blueprints request includes locale parameter
  • Confirm blueprint descriptions are displayed in the selected language

Related

🤖 Generated with Claude Code

The server will return the translated blueprints
@epeicher epeicher closed this Jan 8, 2026
@wpmobilebot
Copy link

📊 Performance Test Results

Comparing 8437619 vs trunk

site-editor

Metric trunk 8437619 Diff Change
load 7711.00 ms 4860.00 ms -2851.00 ms 🟢 -37.0%

site-startup

Metric trunk 8437619 Diff Change
siteCreation 9149.00 ms 9076.00 ms -73.00 ms 🟢 -0.8%
siteStartup 3956.00 ms 3958.00 ms +2.00 ms 🔴 0.1%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change

@epeicher epeicher deleted the stu-1154-studio-blueprint-descriptions-are-not-translated branch January 9, 2026 08:49
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.

3 participants