-
Notifications
You must be signed in to change notification settings - Fork 662
Open
Labels
Description
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