Skip to content

Support multi-language theme preview and language-specific sample text #238

@ty525

Description

@ty525

Is your feature request related to a problem? Please describe.
My project uses a language that is structurally very different from English (in my case, Chinese). tweakcn currently only previews themes using English text, which makes it difficult to evaluate how the UI actually looks with languages that have different scripts, spacing behavior, and typography.

To simulate it, I’ve been using Google Translate on the preview page, but translated Next.js pages often glitch or crash, so it’s not reliable.

Describe the solution you'd like
I’d like tweakcn to support previewing themes in languages very different from English — for example Chinese, Japanese, Korean, Arabic, etc. Ideally, the tool would:

  • Allow switching the preview content to another language
  • Generate realistic sample content using AI or pull from a built-in multi-language sample text library
  • Adapt typography and spacing rules based on the selected language

This would give a much more accurate preview for non-English, non-Latin-script projects.

Describe alternatives you've considered

  • Using Google Translate, but this often breaks the preview page.
  • Exporting the theme and importing it into my own project just to test it with my language, which is much more work than necessary for quick previews.

Additional context
A multi-language preview option would significantly improve the tool for projects using non-Latin scripts or languages very different from English.

It would also enable better AI-powered design decisions, because AI can adjust typography, spacing, and layout based on the specific characteristics of each language (for example: denser CJK characters, right-to-left scripts, different word lengths, or line-breaking rules).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions