Skip to content

script to set priority of docs in Weblate translation flow

By default, the docs pages are shown in Weblate sorted based on the filename. The default assigns each string a priority of 100. This script sets priority based on a few factors:

  • Essential docs are left at the default priority of 100.
  • Docs about processes that require English are given a priority of 1.
  • Smaller docs are given a higher priorty.
  • More recently modified docs are given a higher priority.

Now that this is scripted, it should be easy to set those rules for what works best for translators. These rules are just my first guess at making an improvement.

FYI @linsui @licaon-kter @danialbehzadi @critdroid @BoFFire and any other translator who might be interested in weighing in here.

Edited by Hans-Christoph Steiner

Merge request reports