Closed lennertVanSever closed 6 years ago
To a further extent, I'm also wondering which Alphabet code we are using? (from the example: ru-Cyrl)
Which element are you asking about? StringWithOptionalLang,MultilineStringWithOptionalLang and HTTPWithOptionalLang are explained here: https://github.com/erasmus-without-paper/ewp-specs-architecture/blob/stable-v1/common-types.xsd. All of them refer to xs:language type.
Lennert, is this clear now or do you expect further explanations?
Well the common type XML still doesn't specify which languagecode ISO is used. I assume we use ISO 639-1 since this is often used as language code.
There was an idea to require ISO 639-1 (see this issue), but it was rejected (the same issue). As I remember, we don't specify anything more than the tag documentation.
Actually, in our implementation we also send ISO 639-1 codes (without any extensions) and when receiving, we compare the beginning of the answer with ISO 639-1. I think that for practical use it is enough.
Okay this is clear for me, thanks for the responses :)
I have been looking for a while which language code standard we use. I assume that we use ISO 639-1? I hope that I don't waste anyone their time by asking this but I couldn't find it in the documentation.