The Language class should support codes in both ISO 639-2 and ISO 639-3 formats.
The initial requirements are:
@balmas:
Since we are now using the Language class to encapsulate languages other than those that initiated their creation (e.g. for a Definition, we have the language of the lemma of the definition and the language of the text of the definition) we should explicitly support ISO 639-2 codes as well as ISO 639-3. For Alpheios-supported languages we normalize to ISO 639-3 but for other languages we should support either, and we could validate against the standard list of 639-3 and 639-2 codes.
The
Languageclass should support codes in both ISO 639-2 and ISO 639-3 formats.The initial requirements are:
@balmas: