[Feature]: Pseudo-Localization Mode
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
Love this idea, I can implement --pseudo in the compiler/CLI (simple accenting + optional lengthening/wrapping). Assign this to me if that’s alright and I’ll open a PR with tests & docs shortly.
@DeveloperViraj I got this idea that's why I opened it, but nevermind if I get stuck I will seek your help!
@DeveloperViraj if @ashutoshdebug wants to work on this issue, he's the one who opened it, so he gets priority. Also (both of you) remember not to open a PR unless you are assigned to this issue!
To avoid confusion, please be aware that I am not a member of the Lingo.dev team!
This is a great idea @ashutoshdebug, assigning the issue to you now. Ping @sumitsaurabh927 / our Core team on Discord if you need any guidance!
@maxprilutskiy I will work on the idea once I know how to setup the env on a windows system
@maxprilutskiy best
@maxprilutskiy I have initiated a PR, please review it and let me know your thoughts!