WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.49k stars 993 forks source link

Test mode: weblate in gibberish #7774

Closed emyoulation closed 2 years ago

emyoulation commented 2 years ago

Describe the problem

Could a full automatic Weblate complete glossary dummy translation be programmatically generated for test purposes?

It is sometimes difficult to perceive when strings have been overlooked for translation. (That includes when a typo or a whitespace oddity prevents a translation.)

Describe the solution you'd like

Perhaps Weblate could auto-generate a "Gibberish language" (or maybe a dead language that has a Unicode block, like Sumerian/Akkadian cuneiform) translation file so that a developer could switch their OS to that pseudo language and verify nothing was overlooked. It might use an unusual subset of the Unicode range... like random characters from the Mahjong Tiles block. (It could be extra fancy and separate words with face down tile, alternating suit with each word and use random special tiles for punctuation.)

This would also need a too to regenerate locally on demand. Otherwise, iterative tests would have to wait for a batch regeneration.

Describe alternatives you've considered

Originally, the thought was to merely prefix the translated strings with an Unicode symbol.

But our language discrimination is trained to spot words with meaning. Untranslated words word stand-out prominently whereas prefixed words would have to be carefully read.

Screenshots

No response

Additional context

No response

nijel commented 2 years ago

There is already pseudolocale add-on, it adds prefix and suffix to all strings, what serves well for testing - you see which strings are translatable, and you also see what string is that.

github-actions[bot] commented 2 years ago

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger.

In case your question is already answered, making a donation is the right way to say thank you!

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!