[PR #16924] Make ploc translations predictable #31053

Open
opened 2026-01-31 09:44:47 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/16924

State: closed
Merged: Yes


It appears as if our official ploc translations use a per-file hash
as the seed for generating random pseudo-localization characters.
This works poorly for us since we have these translations hooked up
to our CI to submit PRs with the latest changes. We do want to get
the latest proper translations but merging 1000s of lines of ploc
changes every time is unneccessary.

This PR replicates LocStudio's pseudo-localizations in PowerShell
but it uses a per-key seed for the RNG.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/16924 **State:** closed **Merged:** Yes --- It appears as if our official ploc translations use a per-file hash as the seed for generating random pseudo-localization characters. This works poorly for us since we have these translations hooked up to our CI to submit PRs with the latest changes. We do want to get the latest proper translations but merging 1000s of lines of ploc changes every time is unneccessary. This PR replicates LocStudio's pseudo-localizations in PowerShell but it uses a per-key seed for the RNG.
claunia added the pull-request label 2026-01-31 09:44:47 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#31053