Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581616 - GLEP68: explicitly specify the format for the language identifiers
Summary: GLEP68: explicitly specify the format for the language identifiers
Status: RESOLVED INVALID
Alias: None
Product: Documentation
Classification: Unclassified
Component: GLEP Changes (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GLEP Editors
URL: https://wiki.gentoo.org/wiki/GLEP:68#...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-30 06:50 UTC by Göktürk Yüksek
Modified: 2016-05-01 03:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Göktürk Yüksek archtester gentoo-dev 2016-04-30 06:50:09 UTC
According to the council logs that approved GLEP 68 (https://projects.gentoo.org/council/meeting-logs/20160410.txt):

<ulm> right, there was some minor last-minute issue about the lang attribute
<ulm> the question is if we leave it at ISO-639-1, i.e. two-letter language code
[...]
<dilfridge> so consensus is keep it at 2 characters
<ulm> yes

Furthermore, the xml-schema in the GLEP explicitly cites ISO 639-1 language code as valid values for the lang attribute (https://gitweb.gentoo.org/data/xml-schema.git/tree/metadata.xsd#n295).

The GLEP mentions the common usage of ISO 639-1 but does not explicitly state that only values in the ISO 639-1 format are valid for the lang attribute.


Reproducible: Always
Comment 1 Chris Reffett (RETIRED) gentoo-dev Security 2016-05-01 01:40:46 UTC
mgorny: any input?
Comment 2 Göktürk Yüksek archtester gentoo-dev 2016-05-01 03:18:33 UTC
I just went over the whole GLEP again. The section "Language identifiers" does not have this information but it is specified in section "Common attributes". Sorry about this. We'll need to patch metadata.dtd but there's nothing GLEP-wise.