Skip to content

docs: clarify typed i18n catalogs - #4294

Merged
nynexman4464 merged 1 commit into
mainfrom
docs-i18n-catalog-typing
Jul 24, 2026
Merged

nynexman4464 merged 1 commit into
mainfrom
docs-i18n-catalog-typing

Conversation

@nynexman4464

@nynexman4464 nynexman4464 commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • keep human i18n docs focused on app-facing setup: locale catalogs in Quick Start, runtime language swap, overrides, existing i18n libraries, Astryx-as-i18n usage, testing, and contributors
  • update InternationalizationProvider CLI docs to prefer shipped Astryx locale catalogs first, then overrides, then local same-shape catalogs as the fallback path
  • add component-page examples for InternationalizationProvider: shipped locale with EN/FR runtime swap, and overrides
  • add @astryx.selector.placeholder to the shipped fr-FR catalog so the shipped-locale example visibly changes Astryx UI
  • preserve the Crowdin contributor guidance from docs(i18n): link to Crowdin project for translators #4243 and render Crowdin / issue references as markdown links

Stacked on

  • docs-reference-subheadings for reference-doc subheading support. GitHub is currently returning 500/GraphQL errors when creating that PR, but the branch is pushed.

Validation

  • node packages/cli/bin/astryx.mjs docs internationalization
  • node packages/cli/bin/astryx.mjs component InternationalizationProvider --detail full
  • node apps/docsite/scripts/generate-data.mjs
  • ./node_modules/.bin/vitest run packages/cli/src/commands/docs.test.mjs packages/cli/src/commands/component.test.mjs packages/core/src/docs-script.test.mjs
  • ./node_modules/.bin/tsc -p apps/docsite/tsconfig.json --noEmit still fails on unrelated generated example prop drift (elevation, maxRows, maxVisibleItems)

@vercel

vercel Bot commented Jul 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
astryx Ready Ready Preview, Comment Jul 24, 2026 8:30pm

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 24, 2026
@nynexman4464
nynexman4464 force-pushed the docs-i18n-catalog-typing branch from 6cc1774 to bb96e0a Compare July 24, 2026 17:38
@nynexman4464
nynexman4464 force-pushed the docs-i18n-catalog-typing branch from bb96e0a to e6165db Compare July 24, 2026 17:46
@nynexman4464
nynexman4464 changed the base branch from nynexman4464/feat/rtl-direction-api to main July 24, 2026 17:46
github-actions Bot added a commit that referenced this pull request Jul 24, 2026
@github-actions

github-actions Bot commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

🧪 Sandbox Preview

View Sandbox for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

Modified Components

i18n
Metric Before After Delta
Bundle Size (ESM) N/A N/A N/A
Lines of Code N/A 174 -
Complexity N/A Low (2) -

Bundle Size Summary

Package Size (ESM) Size (CJS) Gzipped
@astryxdesign/core N/A 4.7KB 0B

Accessibility Audit

Status: No accessibility violations detected.


Generated by PR Enrichment workflow | Storybook | Sandbox | View full report

@nynexman4464
nynexman4464 force-pushed the docs-i18n-catalog-typing branch from e6165db to 9d35efc Compare July 24, 2026 18:12
@github-actions github-actions Bot added the needs:design-review Affects visuals — Design should review label Jul 24, 2026
@nynexman4464
nynexman4464 force-pushed the docs-i18n-catalog-typing branch from 9d35efc to acc5548 Compare July 24, 2026 18:18
github-actions Bot added a commit that referenced this pull request Jul 24, 2026
@nynexman4464
nynexman4464 force-pushed the docs-i18n-catalog-typing branch from acc5548 to 1b4b44b Compare July 24, 2026 19:05
github-actions Bot added a commit that referenced this pull request Jul 24, 2026
@nynexman4464
nynexman4464 force-pushed the docs-i18n-catalog-typing branch from 1b4b44b to 407b078 Compare July 24, 2026 19:54
@nynexman4464
nynexman4464 changed the base branch from main to docs-reference-subheadings July 24, 2026 19:55
@nynexman4464
nynexman4464 force-pushed the docs-i18n-catalog-typing branch from 0fa6b30 to d4b626d Compare July 24, 2026 20:26
@nynexman4464
nynexman4464 changed the base branch from docs-reference-subheadings to main July 24, 2026 20:26
@nynexman4464
nynexman4464 enabled auto-merge (squash) July 24, 2026 20:28
github-actions Bot added a commit that referenced this pull request Jul 24, 2026
@nynexman4464
nynexman4464 merged commit e8e187c into main Jul 24, 2026
19 checks passed
@github-actions
github-actions Bot deleted the docs-i18n-catalog-typing branch July 25, 2026 06:50

This branch was successfully deployed

1 active deployment
Preview — d4b626dd Deployed Jul 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. needs:design-review Affects visuals — Design should review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant