XForms i18n

Is XForms allowed to ignore xml:lang attributes?

What I want:
one document containing data, layout and translations. Splitting into 
several documents is no option.

What I tried:
<xf:select1 ref="/my/model/some_value">
  <xf:label lang="en_US">Label</xf:label>
  <xf:label lang="de_DE">Aufkleber</xf:label>
  ...
</xf:select1>

Result in FF-XForms-0.8.7:
"Label" and "Aufkleber" appear both in the UI.

Naively expected Result:
For a browser setup to "de_DE" only "Aufkleber" is shown. Others 
setups show just "Label".


Can someone please shed some light on this situation. 
Is my translation approach correct?
If not, are there alternatives?


kind regards
Kai-Uwe Behrmann
-- 
developing for colour management 
www.behrmann.name + www.oyranos.org

Received on Tuesday, 20 July 2010 06:39:04 UTC