Skip to content

[Feature]: Pseudo-Localization Mode #1435

@ashutoshdebug

Description

@ashutoshdebug

Feature Proposal: “Pseudo-Localization Mode”

Add a --pseudo (or pseudo: true in config) mode to Lingo.dev Compiler and CLI that automatically pseudo-translates all extracted strings — i.e., replaces characters with accented versions, optionally lengthens them, and wraps with markers — without calling any external API.

Why This Feature

Helps developers test UI for internationalization readiness without waiting for actual translations.

Detects layout issues (e.g., truncated text, overflow).

Standard i18n practice used in Google, Microsoft, and Mozilla localization pipelines.

Example Behavior

Input:

<p>Submit</p>
<p>Welcome back!</p>

Output (pseudo locale en-XA):

<p>Šûbmíţ⚡</p>
<p>Ŵêļçømèƀäçķ!</p>

Proposed Usage

Via CLI

pnpx lingo.dev run --pseudo

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions