ISSUE-487: Consider adding a language tag to indicate the language of an error message

Consider adding a language tag to indicate the language of an error message

State:
CLOSED
Product:
vehicle-information-access
Raised by:
Steven Atkin
Opened on:
2015-08-19
Description:
THREAD: http://www.w3.org/Mail/flatten/index?subject=i18n-ISSUE-487&list=public-automotive



10 Vehicle Interface Error
http://www.w3.org/TR/2015/WD-vehicle-information-api-20150616/#idl-def-VehicleInterfaceError

Which languages may be used in the error message? If languages other than English are permitted then you may want to add an attribute to the interface to clearly indicate the language of the message.

You may want to consider modifying this interface to permit an array of messages tagged with their language so that the interface could return messages in more than one language. This would enable an end-user to select from a list of possible languages to see messages in.

If you add a language tag then you should follow the BCP47 recommendations https://tools.ietf.org/html/bcp47

Do not use the ISO639-1 2 letter codes for languages.

One of the problems with using ISO 639-1 2 letter codes is that it does not adequately address the handling of Chinese. For example, in ISO 639-1 Chinese is represented as zh. This code cannot indicate whether the writing system is Simplified Chinese or Traditional Chinese. The BCP47 standard clearly indicates which writing system is in use. In this case if Simplified Chinese was being used the code would be zh-Hans and for Traditional Chinese it would be zh-Hant.
Related Actions Items:
No related actions
Related emails:
  1. i18n-ISSUE-487: Consider adding a language tag to indicate the language of an error message (from atkin@us.ibm.com on 2015-09-17)
  2. i18n-ISSUE-487: Consider adding a language tag to indicate the language of an error message (from atkin@us.ibm.com on 2015-08-21)
  3. I18N-ISSUE-487: Consider adding a language tag to indicate the language of an error message ⓟ [vehicle-information-access] (from sysbot+tracker@w3.org on 2015-08-19)

Related notes:

https://github.com/w3c/i18n-activity/issues/90

Richard Ishida, 17 Mar 2016, 12:42:54

Display change log ATOM feed


Addison Phillips <addison@amazon.com>, Chair, Richard Ishida <ishida@w3.org>, Fuqiao Xue <xfq@w3.org>, Atsushi Shimono <atsushi@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $