erasmus-without-paper / ewp-specs-api-iias

Specifications of EWP's Interinstitutional Agreements API.
MIT License
4 stars 13 forks source link

Special ISO639-2 code usage in recommended language skill element #177

Closed mkurzydlowski closed 1 month ago

mkurzydlowski commented 1 month ago

The recommended-language-skill element consists of an language element: https://github.com/erasmus-without-paper/ewp-specs-api-iias/blob/v7.0.0/endpoints/get-response.xsd#L448-L455

It is defined as the xs:language type that follows RFC 3066 (see this isse). In general, EWP is following BCP 47 for specifying languages.

But ISO639-2 defines additional special codes. Most notably the und code:

       5.  [ISO639-2] has defined several codes included in the subtag
       registry that require additional care when choosing language
       tags.  In most of these cases, where omitting the language tag is
       permitted, such omission is preferable to using these codes.
       Language tags SHOULD NOT incorporate these subtags as a prefix,
       unless the additional information conveys some value to the
       application.

      [...]

       *  The 'und' (Undetermined) primary language subtag identifies
          linguistic content whose language is not determined.  This
          subtag SHOULD NOT be used unless a language tag is required
          and language information is not available or cannot be
          determined.  Omitting the language tag (where permitted) is
          preferred.  The 'und' subtag might be useful for protocols
          that require a language tag to be provided or where a primary
          language subtag is required (such as in "und-Latn").  The
          'und' subtag MAY also be useful when matching language tags in
          certain situations.

      [...]

A decision has been made by DG EAC to disallow the use of these special codes.

We will subsequently specify all language codes in EWP as following BCP 47 but disallowing special codes.

demilatof commented 1 month ago

A decision has been made by DG EAC to disallow the use of these special codes.

Doing so, you and the DG EAC show to not know the Erasmus Project in all its aspects. The Un-identified (UN) is explicitly allowed and accepted by the beneficiary module dictionary, that is the golden reference for the project since it is the platform where all mobilities and funds are managed.

If you are in trouble to manage this special code, I think you should overcome this difficulty without introducing divergences among different aspect of the same project (EWP, BM, and so on)

https://wikis.ec.europa.eu/download/attachments/39355216/2023-11-21_KA131_call_2022_Data_Dictionary_BM_release_1.23.5.xlsx?version=1&modificationDate=1700581042122&api=v2&download=true

Beneficiary-Languages

janinamincer-daszkiewicz commented 1 month ago

A decision has been made by DG EAC to disallow the use of these special codes.