Skip to content

docs(kb): add film articles and consolidate localization guides - #630

Closed
Kevin-Liu-01 wants to merge 9 commits into
mainfrom
k/kb-film-articles
Closed

Kevin-Liu-01 wants to merge 9 commits into
mainfrom
k/kb-film-articles

Conversation

@Kevin-Liu-01

@Kevin-Liu-01 Kevin-Liu-01 commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Adds 15 film-matched Knowledge Base articles and revises the five existing articles. The batch covers framework setup, translation workflows, formatting, review, agent automation, and integrations.

The Next.js setup, coding-agent setup, and existing no-translation-files page incorporate the overlapping drafts from #642 and #643, preserving the established or already-planned URLs. They now explain GT's code context, review workflow, local/CDN delivery, and continuous localization. The setup guides use the maintained Setup for Agents prompt, browser login, the setup wizard, and concrete verification steps; the agent guide covers operational MCP tools and Locadex.

Validation: repository validator tests, script typecheck, all content checks, and the production build passed. Browser checks passed for the three consolidated articles. A clean App Router fixture using gt-next 11.4.12 and gt 2.26.5 passed non-interactive setup, validation, production build, and English/Spanish/French switching, including reload persistence, server-rendered content, and client attributes. The React agent example is unchanged from its previously tested fixture.

Test translations were supplied manually. Hosted generation, authenticated MCP actions, and Locadex execution were not performed. The older claims that every article has a 300-character summary or 150–300 words no longer describe the expanded guides; their summaries pass the repository's 60-word limit.

Articles

Slug Question Film
add-i18n-to-nextjs How do I add i18n to a Next.js app? kb-add-i18n-to-nextjs
translate-react-app How do I translate a React app? kb-translate-react-app
translate-react-native-app How do I translate a React Native app? kb-translate-react-native-app
translate-vue-app How do I translate a Vue app? kb-translate-vue-app
translate-node-app How do I translate a Node.js app? kb-translate-node-app
translate-strings-outside-jsx How do I translate strings outside JSX? kb-translate-strings-outside-jsx
format-numbers-dates-currencies How do I format numbers, dates, and currencies for each locale? kb-format-numbers-dates-currencies
translations-in-ci How do I keep translations up to date on every deploy? kb-translations-in-ci
review-translations How do I review and edit translations? kb-review-translations
ai-agent-i18n-setup Can an AI coding agent set up i18n for me? kb-ai-agent-i18n-setup
what-is-locadex What does the Locadex agent do? kb-what-is-locadex
translate-mintlify-docs How do I translate a Mintlify docs site? kb-translate-mintlify-docs
translate-google-slides How do I translate Google Slides? kb-translate-google-slides
translate-sanity-content How do I translate content in Sanity? kb-translate-sanity-content
translate-storyblok-content How do I translate content in Storyblok? kb-translate-storyblok-content

The Python article waits on gt-python #36.

Source docs

add-i18n-to-nextjs (16 pages)
  • docs/en-US/react/nextjs-quickstart.mdx
  • docs/en-US/react/(frameworks)/nextjs/config.mdx
  • docs/en-US/react/guides/storing-translations.mdx
  • docs/en-US/cli/guides/generating-translations.mdx
  • docs/en-US/react/nextjs-pages-router-quickstart.mdx
  • docs/en-US/react/reference/functions/load-translations.mdx
  • docs/en-US/react/reference/components/gt-provider.mdx
  • docs/en-US/react/reference/hooks/use-locale.mdx
  • docs/en-US/react/reference/components/t.mdx
  • docs/en-US/react/reference/components/locale-selector.mdx
  • docs/en-US/react/reference/hooks/use-gt.mdx
  • docs/en-US/react/(frameworks)/nextjs/reference/functions/get-gt.mdx
  • docs/en-US/cli/reference/commands/generate.mdx
  • docs/en-US/cli/reference/commands/translate.mdx
  • docs/en-US/platform/dashboard/reference/api-keys.mdx
  • docs/en-US/platform/dashboard/reference/supported-locales.mdx
translate-react-app (21 pages)
  • docs/en-US/react/react-spa-quickstart.mdx
  • docs/en-US/react/overview.mdx
  • docs/en-US/react/react-quickstart.mdx
  • docs/en-US/react/react-router-quickstart.mdx
  • docs/en-US/react/nextjs-quickstart.mdx
  • docs/en-US/react/guides/managing-locales.mdx
  • docs/en-US/react/guides/developing-spa-translations.mdx
  • docs/en-US/react/guides/spa/configuring-vite-spa.mdx
  • docs/en-US/react/guides/spa/configuring-webpack-spa.mdx
  • docs/en-US/react/guides/spa/configuring-esbuild-spa.mdx
  • docs/en-US/react/guides/spa/configuring-rollup-spa.mdx
  • docs/en-US/react/guides/spa/configuring-rolldown-spa.mdx
  • docs/en-US/react/guides/spa/configuring-bazel-spa.mdx
  • docs/en-US/react/guides/spa/internationalizing-react-spa.mdx
  • docs/en-US/react/reference/config.mdx
  • docs/en-US/react/reference/functions/load-translations.mdx
  • docs/en-US/react/reference/functions/t-function.mdx
  • docs/en-US/react/reference/components/t.mdx
  • docs/en-US/react/reference/components/locale-selector.mdx
  • docs/en-US/cli/reference/commands/login.mdx
  • docs/en-US/cli/reference/config.mdx
translate-react-native-app (15 pages)
  • docs/en-US/react/react-native-quickstart.mdx
  • docs/en-US/react/(frameworks)/react-native/setup.mdx
  • docs/en-US/react/(frameworks)/react-native/plugin.mdx
  • docs/en-US/react/(frameworks)/react-native/troubleshooting.mdx
  • docs/en-US/react/guides/managing-locales.mdx
  • docs/en-US/react/reference/config.mdx
  • docs/en-US/react/reference/components/gt-provider.mdx
  • docs/en-US/react/reference/components/t.mdx
  • docs/en-US/react/reference/hooks/use-gt.mdx
  • docs/en-US/react/reference/hooks/use-locale-selector.mdx
  • docs/en-US/cli/quickstart.mdx
  • docs/en-US/cli/reference/commands/generate.mdx
  • docs/en-US/cli/reference/commands/login.mdx
  • docs/en-US/cli/reference/config.mdx
  • docs/en-US/platform/dashboard/reference/api-keys.mdx
translate-vue-app (13 pages)
  • docs/en-US/vue/quickstart.mdx
  • docs/en-US/vue/guides/managing-locales.mdx
  • docs/en-US/vue/guides/storing-translations.mdx
  • docs/en-US/vue/guides/formatting-variables.mdx
  • docs/en-US/vue/reference/functions/create-gt.mdx
  • docs/en-US/vue/reference/components/t.mdx
  • docs/en-US/vue/reference/composables/use-gt.mdx
  • docs/en-US/vue/reference/composables/use-locale.mdx
  • docs/en-US/vue/reference/composables/use-set-locale.mdx
  • docs/en-US/cli/quickstart.mdx
  • docs/en-US/cli/reference/commands/login.mdx
  • docs/en-US/cli/reference/config.mdx
  • docs/en-US/platform/dashboard/reference/supported-locales.mdx
translate-node-app (18 pages)
  • docs/en-US/node/quickstart.mdx
  • docs/en-US/node/guides/storing-translations.mdx
  • docs/en-US/node/guides/detecting-locale.mdx
  • docs/en-US/node/guides/configuring.mdx
  • docs/en-US/node/guides/translating-strings.mdx
  • docs/en-US/node/reference/functions/initialize-gt.mdx
  • docs/en-US/node/reference/functions/with-gt.mdx
  • docs/en-US/node/reference/functions/get-request-locale.mdx
  • docs/en-US/node/reference/functions/get-gt.mdx
  • docs/en-US/node/reference/functions/msg.mdx
  • docs/en-US/node/reference/functions/tx.mdx
  • docs/en-US/react/reference/functions/load-translations.mdx
  • docs/en-US/cli/guides/generating-translations.mdx
  • docs/en-US/cli/guides/configuring.mdx
  • docs/en-US/cli/reference/config.mdx
  • docs/en-US/cli/reference/commands/login.mdx
  • docs/en-US/cli/reference/commands/translate.mdx
  • docs/en-US/cli/quickstart.mdx
translate-strings-outside-jsx (17 pages)
  • docs/en-US/react/guides/translating-strings.mdx
  • docs/en-US/react/reference/hooks/use-gt.mdx
  • docs/en-US/react/reference/hooks/use-messages.mdx
  • docs/en-US/react/(frameworks)/nextjs/reference/functions/get-gt.mdx
  • docs/en-US/react/(frameworks)/nextjs/reference/functions/get-messages.mdx
  • docs/en-US/react/reference/functions/msg.mdx
  • docs/en-US/react/reference/functions/t-function.mdx
  • docs/en-US/react/reference/types/inline-translation-options.mdx
  • docs/en-US/react/reference/components/t.mdx
  • docs/en-US/react/reference/components/gt-provider.mdx
  • docs/en-US/react/reference/config.mdx
  • docs/en-US/react/react-spa-quickstart.mdx
  • docs/en-US/react/nextjs-quickstart.mdx
  • docs/en-US/cli/reference/commands/translate.mdx
  • docs/en-US/vue/guides/translating-strings.mdx
  • docs/en-US/vue/reference/composables/use-gt.mdx
  • docs/en-US/vue/reference/composables/use-messages.mdx
format-numbers-dates-currencies (11 pages)
  • docs/en-US/react/guides/formatting-variables.mdx
  • docs/en-US/react/reference/components/num.mdx
  • docs/en-US/react/reference/components/currency.mdx
  • docs/en-US/react/reference/components/datetime.mdx
  • docs/en-US/react/reference/components/relative-time.mdx
  • docs/en-US/react/reference/components/var.mdx
  • docs/en-US/react/reference/components/t.mdx
  • docs/en-US/react/nextjs-quickstart.mdx
  • docs/en-US/react/react-spa-quickstart.mdx
  • docs/en-US/vue/guides/formatting-variables.mdx
  • docs/en-US/vue/reference/components/num.mdx
translations-in-ci (11 pages)
  • docs/en-US/cli/guides/generating-translations.mdx
  • docs/en-US/cli/guides/configuring.mdx
  • docs/en-US/cli/reference/commands/translate.mdx
  • docs/en-US/cli/reference/commands/api-key-create.mdx
  • docs/en-US/cli/reference/commands/login.mdx
  • docs/en-US/cli/quickstart.mdx
  • docs/en-US/platform/dashboard/reference/api-keys.mdx
  • docs/en-US/overview/for-coding-agents.mdx
  • docs/en-US/react/reference/components/t.mdx
  • docs/en-US/react/reference/hooks/use-gt.mdx
  • docs/en-US/platform/locadex/quickstart.mdx
review-translations (7 pages)
  • docs/en-US/platform/dashboard/guides/reviewing-translations.mdx
  • docs/en-US/platform/dashboard/guides/adding-annotations.mdx
  • docs/en-US/platform/dashboard/guides/defining-context-for-translations.mdx
  • docs/en-US/platform/dashboard/reference/roles-and-permissions.mdx
  • docs/en-US/platform/dashboard/get-started.mdx
  • docs/en-US/platform/locadex/quickstart.mdx
  • docs/en-US/cli/quickstart.mdx
ai-agent-i18n-setup (9 pages)
  • docs/en-US/overview/for-coding-agents.mdx
  • docs/en-US/cli/reference/commands/login.mdx
  • docs/en-US/cli/reference/commands/init.mdx
  • docs/en-US/cli/reference/commands/translate.mdx
  • docs/en-US/react/reference/components/t.mdx
  • docs/en-US/react/reference/components/locale-selector.mdx
  • docs/en-US/react/reference/components/gt-provider.mdx
  • docs/en-US/react/reference/hooks/use-gt.mdx
  • docs/en-US/platform/locadex/quickstart.mdx
what-is-locadex (10 pages)
  • docs/en-US/platform/locadex/quickstart.mdx
  • docs/en-US/platform/locadex/reference/automations.mdx
  • docs/en-US/platform/locadex/guides/configuring-automations.mdx
  • docs/en-US/platform/locadex/guides/auto-merging-prs.mdx
  • docs/en-US/react/nextjs-quickstart.mdx
  • docs/en-US/react/reference/components/t.mdx
  • docs/en-US/react/reference/components/gt-provider.mdx
  • docs/en-US/react/reference/config.mdx
  • docs/en-US/react/reference/hooks/use-gt.mdx
  • docs/en-US/react/reference/functions/msg.mdx
translate-mintlify-docs (11 pages)
  • docs/en-US/integrations/mintlify/quickstart.mdx
  • docs/en-US/integrations/mintlify/guides/configuring-mintlify.mdx
  • docs/en-US/integrations/mintlify/guides/translating-content.mdx
  • docs/en-US/integrations/mintlify/guides/using-translated-content.mdx
  • docs/en-US/integrations/mintlify/guides/managing-translations.mdx
  • docs/en-US/integrations/mintlify/reference/config.mdx
  • docs/en-US/integrations/mintlify/reference/locales.mdx
  • docs/en-US/integrations/mintlify/reference/supported-content.mdx
  • docs/en-US/platform/locadex/quickstart.mdx
  • docs/en-US/platform/locadex/reference/automations.mdx
  • docs/en-US/platform/dashboard/get-started.mdx
translate-google-slides (8 pages)
  • docs/en-US/integrations/google-drive/quickstart.mdx
  • docs/en-US/integrations/google-drive/guides/translating-content.mdx
  • docs/en-US/integrations/google-drive/guides/using-translated-content.mdx
  • docs/en-US/integrations/google-drive/guides/managing-translations.mdx
  • docs/en-US/integrations/google-drive/guides/configuring-google-drive.mdx
  • docs/en-US/integrations/google-drive/reference/supported-content.mdx
  • docs/en-US/integrations/google-drive/reference/connection.mdx
  • docs/en-US/platform/dashboard/get-started.mdx
translate-sanity-content (7 pages)
  • docs/en-US/integrations/sanity/quickstart.mdx
  • docs/en-US/integrations/sanity/guides/configuring-sanity.mdx
  • docs/en-US/integrations/sanity/guides/translating-content.mdx
  • docs/en-US/integrations/sanity/guides/querying-translations.mdx
  • docs/en-US/integrations/sanity/reference/plugin-configuration.mdx
  • docs/en-US/platform/dashboard/get-started.mdx
  • docs/en-US/platform/dashboard/reference/api-keys.mdx
translate-storyblok-content (5 pages)
  • docs/en-US/integrations/storyblok/quickstart.mdx
  • docs/en-US/integrations/storyblok/guides/configuring-storyblok.mdx
  • docs/en-US/integrations/storyblok/guides/translating-content.mdx
  • docs/en-US/integrations/storyblok/guides/using-translated-content.mdx
  • docs/en-US/platform/dashboard/get-started.mdx

🤖 Generated with Claude Code

KB editorial audit — October 19: The Locadex article now presents repository setup and supported run controls without a failure/restart narrative. KB, internal-link, reference-link, and unsafe-HTML validation pass. Engineering defect evidence stays outside published KB prose; the NestJS scanner reproduction is tracked in generaltranslation/gt#2474. This audit does not merge or publish the articles.

@Kevin-Liu-01
Kevin-Liu-01 requested review from a team as code owners October 13, 2026 20:47

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale comment

Risk: medium. Not approved: this adds 15 public Knowledge Base articles, which is not low-scope enough for auto-approval (threshold is low only). Cursor Bugbot and Cursor Security Agent were not present after the first check poll, so those signals were skipped. Human review is needed, and no reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router

@Kevin-Liu-01 Kevin-Liu-01 changed the title docs(kb): add 15 articles that pair with the knowledge base films docs(kb): 15 film articles and all 20 articles on the style guide Oct 14, 2026

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale comment

Risk: medium. Not approved: this updates 20 public Knowledge Base articles, which is above the low-risk auto-approval threshold and is not low-scope. Cursor Bugbot and Cursor Security Agent were not present after the first check poll, so those signals were skipped. Human review is needed, and no reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router

Kevin-Liu-01 and others added 3 commits October 14, 2026 16:49
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All 20 articles now follow the General Translation style guide
(generaltranslation/gtm, STYLE_GUIDE.md on add-style-guide), which
applies in full to knowledge base pages.

- Eighteen "How do I" and "Can I" articles are question answers of 150
  to 300 words. Each has an answer that holds without General
  Translation, a table comparing an i18n library alone, Google
  Translate, a raw AI API and General Translation, a "use X when"
  paragraph, and the exact steps with a link to the full guide.
- What does the Locadex agent do? is a concept answer, and What is the
  best localization software for developers? is a best-tool answer.
- Every summary names General Translation, and every article has
  `updated: 2026-10-14` for the site's "Last updated" line.
- Every fact was checked against docs/en-US or the guide's claims
  ledger, and third-party facts against the vendor's own pages. Claims
  without a source were dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rebase onto main brought in #633's checks. Two changes follow:

- The validator now knows the `updated` field, which the site shows as
  "Last updated". It must be a real date from the article's `date` to
  today. A month or day out of range no longer throws inside the date
  check.
- What does the Locadex agent do? drops its TL;DR section, because the
  summary is the short answer, and folds its Key takeaways' one new fact
  (Locadex Compute Units) and the Quickstart link into the last
  section. The best localization software article opens with its answer
  paragraph, and its closing section is titled Customers and pricing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale comment

Risk: medium. Not approved: this updates 20 public Knowledge Base articles plus the KB validator, which is above the low-risk auto-approval threshold and is not low-scope. Cursor Bugbot and Cursor Security Agent were not present after the first check poll, so those signals were skipped. Human review is needed, and no reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router

Main added a required category to every knowledge base article (#639)
and allowed Key takeaways sections again (#638). The five articles that
both sides changed keep this branch's updated date and main's category.
The 15 new articles get a category from kb/categories.json:
internationalization for the framework and setup articles,
locale-formatting for number and date formatting, translation for
review and Google Slides, and workflow-tools for Locadex, CI, Mintlify,
Sanity and Storyblok.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale comment

Risk: medium. Not approved: this updates 20 public Knowledge Base articles plus the KB validator, which is above the low-risk auto-approval threshold and is not low-scope. Cursor Bugbot and Cursor Security Agent were not present after the first check poll, so those signals were skipped. Human review is needed, and no reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale comment

Risk: medium. Not approved: this updates 20 public Knowledge Base articles plus the KB validator, which is above the low-risk auto-approval threshold and is not low-scope. Cursor Bugbot and Cursor Security Agent were not present after the first check poll, so those signals were skipped. Human review is needed, and no reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router

@pie575 pie575 changed the title docs(kb): 15 film articles and all 20 articles on the style guide docs(kb): add film articles and consolidate localization guides Oct 16, 2026

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale comment

Risk: medium. Not approved: this updates 20 public Knowledge Base articles plus the KB validator, which is above the low-risk auto-approval threshold and is not low-scope. Cursor Bugbot and Cursor Security Agent were not present after the first check poll, so those signals were skipped. Human review is needed, and no reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale comment

Risk: medium. Not approved: this updates 20 public Knowledge Base articles plus the KB validator, which is above the low-risk auto-approval threshold and is not low-scope. Cursor Bugbot and Cursor Security Agent were not present after the first check poll, so those signals were skipped. Human review is needed, and no reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale comment

Risk: medium. Not approved: this updates 20 public Knowledge Base articles plus the KB validator, which is above the low-risk auto-approval threshold and is not low-scope. Cursor Bugbot and Cursor Security Agent were not present after the first check poll, so those signals were skipped. Human review is needed, and no reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router

@Kevin-Liu-01

Copy link
Copy Markdown
Contributor Author

Split into two stacked PRs so the new articles and the edits to the original five can be reviewed apart: #649 adds the 15 new articles (with the updated validator change), and #650, on top of it, revises the five original articles. Both start from this branch's head (ed13050), including Jackie's commits, and are rebased on main. #650's revisions were tested blind against main's articles for how often answer engines would cite them; the results are in its description. New edits should go to #649 or #650.

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Risk: medium. Not approved: this updates 20 public Knowledge Base articles plus the KB validator, which is above the low-risk auto-approval threshold and is not low-scope. Cursor Bugbot and Cursor Security Agent were not present after the first check poll, so those signals were skipped. Human review is needed, and no reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router

@Kevin-Liu-01

Copy link
Copy Markdown
Contributor Author

Split into #649 and #650, both merged.

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