XForms i18n

Kai-Uwe Behrmann <[email protected]> Tue, 20 Jul 2010 08:37:06 +0200 (MEST)
Newsgroups gmane.comp.web.xforms
Message-ID <[email protected]>
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