- From: Gordan Vosicki <gordan.vosicki@icsa.ch>
- Date: Tue, 5 Sep 2000 11:10:31 -0400 (EDT)
- To: www-forms@w3.org
Has the problem of localising enumerations already been looked at ?
Imagine a form having a drop-down list with three possibilities
(YES / MAYBE / NO).
Now, imagine the same form in french (OUI / PEUT-ETRE / NON).
The XForms data definition should allow to describe this, stating
that OUI and YES are equivalent, so that the french form sends OUI
and the english form sends YES.
<enum ...>
<text xml:lang="en">YES</text>
<text xml:lang="fr">OUI</text>
<text xml:lang="de">JA</text>
</enum>
<enum ...>
<text xml:lang="en">MAYBE</text>
<text xml:lang="fr">PEUT-ETRE</text>
<text xml:lang="de">VIELLEICHT</text>
</enum>
It could be simpler for a form to send an integer when the datatype is
a constained enumeration.
Have an idea ?
Gordan Vosicki
ICS Computer Services
Received on Saturday, 16 September 2000 14:33:42 UTC