[Ltru] IANA Language Subtag Registry Lookup tool updated

"Richard Ishida" <ishida@w3.org> Thu, 13 August 2009 17:01 UTC

Return-Path: <ishida@w3.org>
X-Original-To: ltru@core3.amsl.com
Delivered-To: ltru@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0F72A3A6C43 for <ltru@core3.amsl.com>; Thu, 13 Aug 2009 10:01:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.185
X-Spam-Level:
X-Spam-Status: No, score=-8.185 tagged_above=-999 required=5 tests=[BAYES_40=-0.185, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WYid5VU1rNtO for <ltru@core3.amsl.com>; Thu, 13 Aug 2009 10:01:29 -0700 (PDT)
Received: from homer.w3.org (ssh.w3.org [128.30.52.60]) by core3.amsl.com (Postfix) with ESMTP id 3673C3A6B51 for <ltru@ietf.org>; Thu, 13 Aug 2009 10:01:28 -0700 (PDT)
Received: from rishida (homer.w3.org [128.30.52.30]) by homer.w3.org (Postfix) with ESMTP id 7C92C4EECA for <ltru@ietf.org>; Thu, 13 Aug 2009 12:32:55 -0400 (EDT)
From: "Richard Ishida" <ishida@w3.org>
To: <ltru@ietf.org>
References: <mailman.3551.1249583683.4909.ltru@ietf.org> <68723E6B2E0EDC4999504D17DDE8F94906E35E1F@S90X2HUB1.ad.insee.intra>
In-Reply-To: <68723E6B2E0EDC4999504D17DDE8F94906E35E1F@S90X2HUB1.ad.insee.intra>
Date: Thu, 13 Aug 2009 17:32:52 +0100
Message-ID: <043901ca1c33$b4a9fef0$1dfdfcd0$@org>
MIME-Version: 1.0
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AcoWxKCACMOs+AIQToueNwvmwrToNgEUWiqgAEdJPvA=
Content-Language: en-gb
Subject: [Ltru] IANA Language Subtag Registry Lookup tool updated
X-BeenThere: ltru@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Language Tag Registry Update working group discussion list <ltru.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ltru>
List-Post: <mailto:ltru@ietf.org>
List-Help: <mailto:ltru-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 17:01:30 -0000

http://rishida.net/utils/subtags/

FYI, I have produced a new version of my registry lookup tool. In addition
to helping you find subtags and lookup the meaning of subtags, it now helps
check the well-formedness of a language tag.

The tool provides access to all currently defined subtags, and fully
integrates the new extlang subtags.

Parsing language tags. In addition to trying to make the user interface more
friendly, I also added the ability to parse hyphenated tags and discover
their structure and check for errors. I’m not claiming with this release
that the new parser field tests all the corner cases, but it should provide
reports for most of the typical errors.

It reports errors for the following:

- subtags that are not in the registry (by type)
- incorrectly ordered subtags
- duplicate variant tags and multiple tags of other types
- overlong private use subtags

Try this example.
http://rishida.net/utils/subtags/index.php?searchtype=1&searchtext=de-419-DE
-alt&submit=Parse

It doesn’t yet handle extensions, but then there aren’t any valid ones to
handle yet anyway.

I hope that’s useful to someone.


============
Richard Ishida
Internationalization Lead
W3C (World Wide Web Consortium)

http://www.w3.org/International/
http://rishida.net/