Skip to content

Conversation

@Basit-Balogun10
Copy link

@Basit-Balogun10 Basit-Balogun10 commented Jan 16, 2026

  • Add SurveyTranslations component with language management
  • Support 26+ languages (ISO 639-1 and BCP 47 formats)
  • Allow custom language keys for flexibility
  • Integrate translation editing into survey editor
  • Update preview logic to display translations
  • Translatable fields: question, description, buttonText, choices, link, labels

The UI allows users to:

  1. Add languages from dropdown or type custom keys
  2. Switch between default and translation editing modes
  3. See real-time preview of translated content
  4. Match any person.properties.language value for runtime detection

Closes #42154

Problem

Changes

How did you test this code?

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Publish to changelog?

- Add SurveyTranslations component with language management
- Support 26+ languages (ISO 639-1 and BCP 47 formats)
- Allow custom language keys for flexibility
- Integrate translation editing into survey editor
- Update preview logic to display translations
- Translatable fields: question, description, buttonText, choices, link, labels

The UI allows users to:
1. Add languages from dropdown or type custom keys
2. Switch between default and translation editing modes
3. See real-time preview of translated content
4. Match any person.properties.language value for runtime detection
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.

Feature request: Internationalization and localization for surveys, workflows, etc.

1 participant