Skip to content

ValueError : 'grc_Cprt' is not a valid language code. #62

@pmachapman

Description

@pmachapman

When attempting to run a pre-translation build for the following translation engine via Serval on QA:

{
  "id": "65525eafbb0376665c83de75",
  "url": "/api/v1/translation/engines/65525eafbb0376665c83de75",
  "name": "65525d45fe7aa96b80ba27bf",
  "sourceLanguage": "grc",
  "targetLanguage": "en",
  "type": "Nmt",
  "isBuilding": false,
  "modelRevision": 0,
  "confidence": 0,
  "corpusSize": 0
}

I receive the following error (via the Serval build message):

ValueError : 'grc_Cprt' is not a valid language code.

grc (Ancient Greek) is the language for several Koine Greek translations in the DBL (grcF35, grcbrent, GRCTR, TCGNT, ...). It looks like IetfLanguageTag.TryGetSubtags is returning the script as Cypriot?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions