Get Started

Publishing Workflow

LangCTL uses a draft/published workflow similar to staging/production environments, ensuring only reviewed translations reach your users.

Draft vs Published

StatePurposeIncluded in Export
DraftWork in progress, under reviewNo (unless —include-drafts)
PublishedReady for productionYes (default)

Publishing Keys

langctl keys publish my-app home.welcome

langctl keys publish my-app auth.* dashboard.*

langctl keys bulk-publish my-app --module auth
langctl keys create my-app feature.title --value-en "New Feature" --draft

langctl keys get my-app feature.title

langctl keys publish my-app feature.title

langctl export my-app -l en --published-only
💡
Tip

Use drafts for new translations, AI-generated content, or work-in-progress. Publish only after review.

Best Practices

  1. Default to Draft - Create new keys as drafts
  2. Review Before Publishing - Check accuracy and context
  3. Bulk Publish - Publish complete modules at once
  4. Production Exports - Always use —published-only for production

Next Steps