Title: [Feature]: Promote `i18n` to Stable + message-extraction tooling and documented ICU coverage · Issue #141 · bQuery/bQuery · GitHub
Open Graph Title: [Feature]: Promote `i18n` to Stable + message-extraction tooling and documented ICU coverage · Issue #141 · bQuery/bQuery
X Title: [Feature]: Promote `i18n` to Stable + message-extraction tooling and documented ICU coverage · Issue #141 · bQuery/bQuery
Description: Pre-flight checklist I searched existing issues and did not find a duplicate request. I explained the problem or use case, not just the desired API. Problem or use case i18n is Beta and grew in 1.14.0 (negotiateLocale, detectLocale, isRT...
Open Graph Description: Pre-flight checklist I searched existing issues and did not find a duplicate request. I explained the problem or use case, not just the desired API. Problem or use case i18n is Beta and grew in 1.1...
X Description: Pre-flight checklist I searched existing issues and did not find a duplicate request. I explained the problem or use case, not just the desired API. Problem or use case i18n is Beta and grew in 1.1...
Opengraph URL: https://github.com/bQuery/bQuery/issues/141
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature]: Promote `i18n` to Stable + message-extraction tooling and documented ICU coverage","articleBody":"**Pre-flight checklist**\n- [x] I searched existing issues and did not find a duplicate request.\n- [x] I explained the problem or use case, not just the desired API.\n\n**Problem or use case**\n`i18n` is **Beta** and grew in 1.14.0 (`negotiateLocale`, `detectLocale`, `isRTL`, `formatRelativeTime`, `formatList`, `formatDisplayName`, `segment`). First-party i18n is a real differentiator (React/Vue/Svelte mostly lean on third-party libs), but two gaps block both stability and adoption: there is **no message-extraction tooling** to pull translatable strings out of source, and the extent of **ICU / complex-plural coverage** is not documented. Teams can't commit to a localization workflow they can't extract for or whose plural support is unspecified.\n\n**Proposed solution**\nFreeze the formatting/locale API for one cycle, add an optional message-extraction tool that scans source for translation calls and emits/merges catalogs, and publish a precise statement of ICU MessageFormat coverage (plurals, selects, nested arguments) with examples — implementing any documented-but-missing cases. Keep extraction build-tool-agnostic and optional to preserve the zero-build path. Exit criteria: frozen API, extraction tool shipped, ICU coverage documented and tested, lazy-loading of catalogs documented.\n\n**Possible API or UX shape**\n```ts\nimport { defineMessages, t } from \"@bquery/bquery/i18n\";\n\nconst messages = defineMessages({\n cart: { items: \"{count, plural, one {# item} other {# items}}\" }\n});\n\n// Optional extraction (any bundler / CLI):\n// bquery-i18n extract \"src/**/*.ts\" --out locales/en.json\n```\n\n**Alternatives considered**\nDocumenting that users should manage catalogs by hand — viable for tiny apps but a non-starter at scale and weaker than the mature i18n ecosystems around React/Vue. Shipping extraction as a mandatory build step — violates zero-build; it must be optional.\n\n**Relevant area**\n`i18n`\n\n**Additional context**\nThis is both a stabilization and a competitive-strength ticket: getting extraction + documented ICU coverage turns first-party i18n from \"nice to have\" into a real reason to choose bQuery.\n","author":{"url":"https://github.com/JosunLP","@type":"Person","name":"JosunLP"},"datePublished":"2026-06-26T21:25:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/141/bQuery/issues/141"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d499bf73-8e7e-f3b1-0a53-e0d858356ee7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8A0:2B4DA:8965CB:BD0C5C:6A4DB6FF |
| html-safe-nonce | c9c13f4dc2cc38a3099e444c4e1c31608f0ff4a0dd4930d6d7f7c729b21df1e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEEwOjJCNERBOjg5NjVDQjpCRDBDNUM6NkE0REI2RkYiLCJ2aXNpdG9yX2lkIjoiMzE3MzUwNTU2MTAzNjQzNzI0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b3bf35cafd6e1bd398e9e7cc1d21bf31501836b071b8db8dda37aef05c0c17c8 |
| hovercard-subject-tag | issue:4755238869 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bQuery/bQuery/141/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e91f3737229b6da099e3a69749bfcbb690540f45b09a9f1144f00d27dcbe3972/bQuery/bQuery/issues/141 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e91f3737229b6da099e3a69749bfcbb690540f45b09a9f1144f00d27dcbe3972/bQuery/bQuery/issues/141 |
| og:image:alt | Pre-flight checklist I searched existing issues and did not find a duplicate request. I explained the problem or use case, not just the desired API. Problem or use case i18n is Beta and grew in 1.1... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JosunLP |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/bQuery/bQuery git https://github.com/bQuery/bQuery.git |
| octolytics-dimension-user_id | 256381806 |
| octolytics-dimension-user_login | bQuery |
| octolytics-dimension-repository_id | 1139284244 |
| octolytics-dimension-repository_nwo | bQuery/bQuery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1139284244 |
| octolytics-dimension-repository_network_root_nwo | bQuery/bQuery |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 32f7b614aca06e6bbd89842b1370df1328264f68 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width