Skip to content

docs(surveys): Document survey translations feature#15347

Closed
inkeep[bot] wants to merge 2 commits intomasterfrom
docs-writer-ai-update-2026-02-26T19-51-37-009Z-k2uay9
Closed

docs(surveys): Document survey translations feature#15347
inkeep[bot] wants to merge 2 commits intomasterfrom
docs-writer-ai-update-2026-02-26T19-51-37-009Z-k2uay9

Conversation

@inkeep
Copy link
Contributor

@inkeep inkeep bot commented Feb 26, 2026

Summary

This PR documents the new survey translations feature added in PostHog/posthog#47934.

Changes

contents/docs/surveys/creating-surveys.mdx

  • Added a new "Translations" section under Customization documenting:
    • Survey-level translatable fields (name, description, thank you messages)
    • Question-level translatable fields (question text, description, choices, button text, labels)
    • Flexible language code format
    • Constraint that translated choices must match original choices count

contents/docs/surveys/implementing-custom-surveys.mdx

  • Updated the JSON example in "Fetching surveys manually" to include the new translations field structure at both survey and question levels

Related PR


This PR was created by the Inkeep Content Writer agent, which is maintained by the Docs and Wizard team. Please reach out on Slack for help if needed.

inkeep bot added 2 commits February 26, 2026 19:52
Documents the new translations feature from PR PostHog/posthog#47934, covering survey-level and question-level translations, flexible language codes, and translated choices constraints.
Reflects PR #47934 which adds backend support for survey translations.
The survey response now includes a `translations` field at both the
survey level and within each question object.
@inkeep inkeep bot requested a review from adboio February 26, 2026 19:54
@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2026

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview Feb 26, 2026 08:09PM

@github-actions
Copy link
Contributor

Vale prose linter → found 3 errors, 33 warnings, 3 suggestions in your markdown

Full report → Copy the linter results into an LLM to batch-fix issues.

Linter being weird? Update the rules!

contents/docs/surveys/creating-surveys.mdx — 0 errors, 1 warnings, 0 suggestions
Line Severity Message Rule
2:17 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
contents/docs/surveys/implementing-custom-surveys.mdx — 3 errors, 32 warnings, 3 suggestions
Line Severity Message Rule
2:28 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
11:10 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
58:186 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
60:40 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
62:14 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
64:37 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
70:11 warning 'displaySurvey' is a possible misspelling. PostHogBase.Spelling
74:1 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
74:14 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
75:1 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
75:13 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
77:14 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
79:35 warning Avoid trivializing words. 'simply' can sound dismissive to the reader. PostHogDocs.Trivializers
126:208 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
173:30 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
173:38 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
177:100 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
179:13 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
230:5 warning 'Using renderSurvey (deprecated)' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
230:11 warning 'renderSurvey' is a possible misspelling. PostHogBase.Spelling
232:248 warning 'unstyled' is a possible misspelling. PostHogBase.Spelling
232:257 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
234:47 warning 'unstyled' is a possible misspelling. PostHogBase.Spelling
268:17 warning 'unstyled' is a possible misspelling. PostHogBase.Spelling
279:13 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
281:28 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
281:130 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
283:15 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
285:11 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
285:145 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
285:195 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
287:146 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
287:244 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
289:49 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
381:29 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
444:21 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
448:5 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
532:82 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames

@adboio adboio closed this Feb 27, 2026
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