Public:Implementation FAQ
From wiki.opentravel.org
Welcome to the Implementers FAQ. The OpenTravel Specification managers will periodically update this page with the most frequently asked questions and their responses. Please also be sure to visit our Implementers Forum where you will find various answers to questions posted by the community.
Should your question not have been answered in either the FAQ or the Implementers Forum, we encourage you to get in touch with one of the Specification Managers or to place your question in the "New Questions" section at the very bottom of this page. Users are free to provide a response to these new questions.
Contents |
[edit] Implementation Frequently Asked Questions with Answers
[edit] Language Codes
[edit] Question
What language codes should I use in my messages?
[edit] Answer
OpenTravel uses W3C-defined standards and best practices whenever possible. In the case of language codes, OpenTravel defers to the Internet Engineering Task Force’s RFC4646 of 2006 which governs the use of language identification tags. Current best practice calls for the utilization of the Internet Assigned Number Authority (IANA) 's Language Subtag Registry. This registry makes obsolete the use of ISO 639 language codes.
RFC4646 further dictates that:
- Implementers use the shortest tag possible (for instance, “en” is preferred unless you have a specific reason for using “en-US”)
- Language codes are NOT case sensitive
- Subtags follow a specific order: language-script-region-variant-extension-private use (examples include “fr-Latn”, “en-CA”, “zh-Hans-HK”)
For more detailed information, please read the W3C’s article on “Language tags in HTML and XML”
[edit] New Questions
Be the first to post your question.
