metanorma / pubid-iec

PubID spec and implementation for IEC deliverables
BSD 2-Clause "Simplified" License
2 stars 0 forks source link

If document is multi-language, then lang codes delimit by `-` #96

Closed ronaldtse closed 1 year ago

ronaldtse commented 1 year ago

From @Intelligent2013:

UPDATE: if document is multi-language, then lang codes delimit by -.

image

Originally posted by @ronaldtse in https://github.com/metanorma/metanorma-iec/issues/154#issuecomment-1293574126

mico commented 1 year ago

@ronaldtse I didn't find exactly identifier mentioned on screenshot, but updated version https://webstore.iec.ch/publication/68247 They don't mention language in identifier's part, only in "Additional information" section. Does it mean we shouldn't output language by default?

Also, I found we don't parse languages for IEC's identifiers yet. I tried to find some identifiers with language, but didn't find any. Only some "IECQ" identifiers:

IECQ 080000-FR:2022
IECQ 080000-EN:2022

But we already parse them and treat language as "part". Like "5" in IECQ 001002-5:2005.

ronaldtse commented 1 year ago

This sample is given in the PDF footer, so it is not exposed on the Internet (i.e. it cannot be found on the Internet).

Nonetheless this is a use case we need to implement it because we need to generate the footer in PDF:

mico commented 1 year ago

This sample is given in the PDF footer, so it is not exposed on the Internet (i.e. it cannot be found on the Internet).

Nonetheless this is a use case we need to implement it because we need to generate the footer in PDF:

  • 'IEC 60794-1-23:2019-10(en-fr)'

@ronaldtse so we don't need to parse them?

ronaldtse commented 1 year ago

We need to parse and generate it.