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/
Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.