blog: expand 'extend existing systems with AI' post (all 7 locales)#12
Merged
Conversation
…l 7 locales) The first cut read like a feature summary. Expand the English source (source of truth) and regenerate all 6 translations to match: - Add a concrete scenario (40-table Postgres CRM, leadership ask) - Show a real Claude Code prompt for object generation + a sample ObjectSchema.create output - Add a worked 'ask a question -> ObjectQL -> SELECT, as the signed-in user' example covering capability-aware pushdown - Add a rebuild-vs-connect comparison table and a day-one benefits section - Add an FAQ (model every table?, prod writes, data egress, schema changes) - Keep accuracy: env-based creds, read-only path, federation = ADR-0015 roadmap en, zh-Hans, ja, de, es, fr, ko all updated in parity. Docs build green (509 static pages, all blog locale routes generate).
xuyushun441-sys
added a commit
that referenced
this pull request
May 30, 2026
…cale homepage caching (#13) Three fixes prompted by live-site issues: 1. deploy-docs.yml only triggered on content/docs/** — blog-only changes (like the expanded 'extend existing systems' post in #12) never deployed. Add content/blog/** to the path filter. 2. gitConfig.repo was 'spec' → the navbar GitHub link and the docs 'edit this page' link pointed at objectstack-ai/spec. Correct to objectstack-ai/objectos (where this content actually lives). 3. The prefix-less homepage ('/') is statically cached with s-maxage=31536000 and no Vary on Accept-Language. Its body, however, is language-negotiated by middleware — so a shared cache stored the English homepage at '/' and served it to every visitor, and non-English browsers stopped being redirected to their localized path. Mark the default-locale rewrite response 'private, no-cache' so the edge never shares it and middleware re-runs language detection per request. (Verified the redirect logic itself is correct: a cache-miss request with Accept-Language: zh-CN already 307s to /zh-Hans.) Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
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.
Why
The first version of
/blog/extend-existing-systems-with-airead like a feature summary, not a story — no concrete scenario, no real coding-agent prompt, no worked 'ask a question → what happens' example. This expands it into a substantive post and keeps all 7 locales in parity (English is source of truth).What changed
Rewrote the English source and regenerated all 6 translations (
zh-Hans, ja, de, es, fr, ko):ObjectSchema.createoutput in thehotcrmshape.SELECT … WHERE …on Postgres, run as the signed-in user, illustrating capability-aware pushdown.Accuracy held
Verification
pnpm --filter docs build→ green. 509 static pages; blog routes generate for every locale (/en/blog/…,/zh-Hans/blog/…,/ja/blog/…, etc.).Note on Fumadocs blog i18n
Confirmed the blog i18n wiring already follows the official Fumadocs pattern —
i18npassed to theloader(),getPages(lang)/getPage(slug, lang)/generateParams(), and per-locale*.<locale>.mdxfiles. No code changes needed there.