supported source and target language codes do not match the documentation.

#21
by pinzhenchen - opened

The template contains entries like:

    "zh-Hans": "Chinese",
    "zh-Hans-HK": "Chinese",
    "zh-Hans-MO": "Chinese",
    "zh-Hans-MY": "Chinese",
    "zh-Hans-SG": "Chinese",
    "zh-Hant": "Chinese",
    "zh-Hant-HK": "Chinese",
    "zh-Hant-MO": "Chinese",
    "zh-Hant-MY": "Chinese",
    "zh-Latn": "Chinese",

but these do not match the provided documentation on this model page:

"""
The "source_lang_code" and "target_lang_code" property values can take one of one of two forms:

  • An ISO 639-1 Alpha-2 language code, e.g., en; or
  • A "regionalized" variant as an ISO 639-1 Alpha-2 language code and an ISO 3166-1 Alpha-2 country code pair separated by a dash or an underscore, e.g., en_US or en-GB, similar to the Unicode Common Locale Data Repository format.

"""

Hi @pinzhenchen -

Thanks for bringing this to our attention. We have escalated this issue to our internal team for further investigation.

Sign up or log in to comment