
On 7/14/25 17:49, Hans Hagen via ntg-context wrote:
What ConTeXt considers `agr` is `grc` for ISO 639.
That file never made it to a stable so it's on my machine but in the meantiem we can use llg files (language goodies) so we can for instance make [...] which I can then load. We only need these for outliers. I'll add that possibility (assuming that you will check the relevant pdf tags). It can then in due time also replace the never really used language association feature.
Hi Hans, do you want single files (such as `lang-agr.llg`) or just the ConTeXt to BCP 47 mapping? To see how language tagging differs, just reviewing `lang-def.mkxl`, I see that https://www.rfc-editor.org/rfc/rfc5646.html#page-7 (BCP 47/RFC 5646) recommends country codes in uppercase. So we need (to play safe, also according to https://schneegans.de/lv/): en-us: en-US en-gb: en-gb de-de: de-DE de-at: de-AT de-ch: de-ch The following may be defined as: deo: de-1901 ua: uk sr-latn: sr-Latn sr-cyrl: sr-Cyrl cnr-latn: cnr-Latn cnr-cyrl: cnr-Cyrl farsi: fa ar-ae: ar-AE ar-bh: ar-BH ar-eg: ar-EG ar-in: ar-IN ar-kw: ar-KW ar-ly: ar-LY ar-om: ar-OM ar-qa: ar-QA ar-sa: ar-SA ar-sd: ar-SD ar-tn: ar-TN ar-ye: ar-YE ar-sy: ar-SY ar-iq: ar-IQ ar-jo: ar-JO ar-lb: ar-LB ar-dz: ar-DZ ar-ma: ar-MA cn: zh kr: ko gr: el agr: grc pt-br: pt-BR es-es: es-ES es-la: es-419 mo: ro * `mo` has been deprecated and been merged into `ro` (https://iso639-3.sil.org/code/ron). There is a reference to Latvian on line 638 (btw, `lv`), but I couldn’t find any `\installlanguage` for it. I have two questions: Do you want the tags above in other format (such as `lang-agr.llg`)? I think these are the language-related tags required for ConTeXt, am I missing something or do you want another tags? Many thanks for your help, Pablo