Skip to content

docs(node): add tx() runtime translation for gt-node v0.6.0#235

Open
moss-bryophyta wants to merge 4 commits intomainfrom
docs-sync/gt-node-v0.6.0
Open

docs(node): add tx() runtime translation for gt-node v0.6.0#235
moss-bryophyta wants to merge 4 commits intomainfrom
docs-sync/gt-node-v0.6.0

Conversation

@moss-bryophyta
Copy link
Copy Markdown
Collaborator

What

Adds documentation for the new tx() runtime translation function in gt-node@0.6.0, released in gt#1207.

Changes

  • New page: docs/en-US/node/api/strings/tx.mdx — API reference for tx()
  • Updated: docs/en-US/node/guides/strings.mdx — added tx() as a third translation pattern alongside getGT() and msg()/getMessages()
  • Updated: docs/en-US/node/api/strings/meta.json — added tx to navigation

Context

gt-node@0.6.0 now exports tx() for on-demand runtime translation of strings not known at build time. The API mirrors tx() from gt-next/server, accepting a string and optional RuntimeTranslationOptions.

@moss-bryophyta moss-bryophyta requested a review from a team as a code owner April 14, 2026 17:19
@moss-bryophyta moss-bryophyta enabled auto-merge (squash) April 14, 2026 17:19
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.

1 participant