Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 581616

Summary: GLEP68: explicitly specify the format for the language identifiers
Product: Documentation Reporter: Göktürk Yüksek <gokturk>
Component: GLEP ChangesAssignee: GLEP Editors <glep>
Status: RESOLVED INVALID    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://wiki.gentoo.org/wiki/GLEP:68#Language_identifiers
Whiteboard:
Package list:
Runtime testing required: ---

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.