Page MenuHomePhabricator

Create client for new NLLB-200 endpoint
Open, MediumPublic

Description

After the initial integration of some NLLB-200 languages, a new endpoint based on Graph API is available. We want to use the new endpoint since it provides access to more and more up-to-date language support.

We want to keep the current client (Flores) since the new one does not cover all the languages from the current one. That is, we want to enable the new endpoint for all languages it supports, and keep the current one only for those languages not supported by the new one. To keep things simpler for users, the MT will be labelled as "NLLB-200" even if the underlying clients have different names (e.g., "Flores" vs. "FloresGraph").

The new endpoint API provides an option to access the specific list of the supported languages.

Steps:

  • Create client for new endpoint.
  • List languages supported by the new endpoint.
  • Identify languages that we need to keep supporting with the current endpoint.
  • Adjust configuration to support all languages provided with new endpoint.
  • Adjust configuration to limit the support from current endpoint to only those not supported by the new one (avoiding any language to have both options).