TOC 
Network Working GroupG. Klyne
Internet-DraftMIMEsweeper Group
Expires: May 7, 2002Nov 6, 2001

A URN sub-namespace for language tags
draft-klyne-urn-ietf-lang-01

Status of this Memo

This document is an Internet-Draft and is in full conformance with all provisions of Section 10 of RFC2026.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt.

The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html.

This Internet-Draft will expire on May 7, 2002.

Copyright Notice

Copyright (C) The Internet Society (2001). All Rights Reserved.

Abstract

This specification defines a form of URN to be used for language tags defined or registered according to RFC 3066. The URN namespace used is 'ietf', defined by RFC 2648 and extended by RFC????.



 TOC 

Table of Contents




 TOC 

1. Introduction

This specification defines a form of URN to be used for language tags defined or registered according to RFC 3066 [4]. The URN namespace used is 'IETF', defined by RFC 2648 [3] and extended by RFC???? [7] to include names for IETF protocol parameters.

1.1 Background

RFC 3066 [4] defines a construction and registry for tags used to identify human languages. These tags can be used to describe the language used by human-readable text, or other data intended for human prsentation.

There are situations in which it is desired to express a language tag in the form of a URI, but no definitive URI form has been defined.

For example, W3C have defined RDF, [5], a generic XML-based metadata format that uses URIs to identify objects and the relationships between them. There has been some requirement to use language tags with RDF. RFC 3066 language tags have the desired semantics, but it is not clear how they should be represented in the abstract graph model of RDF. The normal form of identification used by RDF (and the Web in general) is a URI or URI-reference as defined by RFC 2396 [2].

This specification defines a way to embed RFC 3066 language tags in a urn: form of URI, which can be used to identify a language in contexts where a URI is prefered to a text string or token.



 TOC 

2. Registration template

The URN sub-namespace for language tags is defined as follows.

Registry name:
language
Specification:
RFC 3066 [4].
Repository:
http://www.iana.org/assignments/language-tags
See also non-registered language tags defined by RFC 3066 [4].
Index value:
The language tag name is the registry index value. RFC 3066 allows this tag name to contain uppercase letters, lowercase letters, digits, and dash ("-"). Language tags are case-insensitive.

Some allowed unregistered language tag values are defined by reference to ISO standard 639 [6].
URN formation:
The URN for a language tag is formed as: "urn:ietf:params:language:<tag-name>", where <tag-name> is the language registry index value, expressed using lower case letters.

RFC 2141 [1] defines the format of URNs. Allowable characters include all of those noted above.

URNs are defined by RFC 2141 [1] as lexically equivalent if they are identical following case normalization of the urn scheme name, the namespace name and any %-escaping used. Language tags are defined such that upper- and lower-case ASCII characters are not distinguished. In forming a URN, all ASCII characters in the language tag must be expressed in lower case.



 TOC 

3. Examples

This table lists some language tags, and the corresponding urn: URIs.

MN (Mongolian)
urn:ietf:params:language:mn
en-US (American English)
urn:ietf:params:language:en-us
zh-yue (Cantonese)
urn:ietf:params:language:zh-yue
sgn-GB (British sign language)
urn:ietf:params:language:sgn-gb
i-klingon
urn:ietf:params:language:i-klingon
i-default
urn:ietf:params:language:i-default
x-private
urn:ietf:params:language:x-private



 TOC 

4. IANA considerations

This document calls for the creation of a new IETF sub-namespace per RFC???? [7]. Registration details are in the preceding section.



 TOC 

5. Security considerations

No security considerations are introduced by this specification beyond those already inherrent in the use of language tags [4].



 TOC 

6. Acknowledgements

The author gratefully acknowledges the contributions of: Martyn Horner, [[[...]]]



 TOC 

References

[1] Moats, R., "URN Syntax", RFC 2141, May 1997.
[2] Berners-Lee, T., Fielding, R. and L. Masinter, "Uniform Resource Identifiers (URI): Generic Syntax", RFC 2396, August 1998.
[3] Moats, R., "A URN Namespace for IETF Documents", RFC 2648, August 1999.
[4] Alvestrand, H., "Tags for the Identification of Languages", BCP 47, RFC 3066, January 2001.
[5] Lassila, O. and R. Swick, "Resource Description Framework (RDF) Model and Syntax Specification", W3C Recommendation rdf-syntax, February 1999.
[6] International Organization for Standardization, "Code for the representation of names of languages, 1st edition", ISO Standard 639, 1988.
[7] Mealling, M., Masinter, L., Hardie, T. and G. Klyne, "An IETF URN Sub-namespace for Registered Protocol Parameters", Internet draft draft-mealling-iana-urn-02, August 2001.


 TOC 

Author's Address

  Graham Klyne
  MIMEsweeper Group
  1310 Waterside
  Arlington Business Park
  Theale, Reading RG7 4SA
  UK
Phone:  +44 118 903 8000
Fax:  +44 118 903 9000
EMail:  Graham.Klyne@MIMEsweeper.com


 TOC 

Appendix A. Revision history

[[[This section to be removed on final publication]]]

A.1 draft-klyne-urn-ietf-lang-00

00a
18-Sep-2001: document initially created.
00b
24-Sep-2001: Small editorial fixes.
01a
06-Nov-2001: Revise background material.



 TOC 

Appendix B. Todo



 TOC 

Full Copyright Statement

Acknowledgement