W3C home > Mailing lists > Public > www-forms@w3.org > July 2010

XForms i18n

From: Kai-Uwe Behrmann <ku.b@gmx.de>
Date: Tue, 20 Jul 2010 08:37:06 +0200 (MEST)
To: www-forms@w3.org
Message-ID: <alpine.LNX.2.00.1007200748200.3494@roma.rasena>
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>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:23 UTC