This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Language codes with countries


/ Elliotte Rusty Harold <elharo@metalab.unc.edu> was heard to say:
| p. 120 of the Docbook book gives en_US as an example of an ISO 3166
| country code for the lang attribute. However, these are normally
| written using hyphens rather than underscores; e.g. en-US. Which is
| correct for Docbook?

The ISO 3166 reference should be normative on this. Hyphen is correct.
(Both the DSSSL and XSL stylesheets handle both.)

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Extinction is an endless crime,
http://www.oasis-open.org/docbook/ | quietly slaughtering all the lives
Chair, DocBook Technical Committee | that would have been.--Captian
                                   | Sverre (James Morrow)

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]