HomePhabricator

Get untranslated messages in the target language, using MessageCollection

Description

Get untranslated messages in the target language, using MessageCollection

Steps:

  1. Fetch 1000 messages for the query string in the source language.
  2. Create message definitions for all message keys found in step 1.
  3. Filter to get all the translations of said messages not existing

in the selected target language.

  1. After filtering, if the messages count is less than the limit, say 25,

then repeat step 1 to fetch the next 1000 messages until found the remaining.

By default:

  • the source language is the wiki's content language,
  • the target language is the interface language.

Use parameter 'filter=untranslated' to get untranslated messages.

Bug: T101220
Change-Id: I3b24a6170a1b27f5e7b8ae5828afd32d85bfeb2b
Followup-id: I246aeea623c1d81f5ce148185be8c9c9ef8f0923